Antwort auf: open printing to pdf

Startseite Foren Deutsches LiveCode-Forum open printing to pdf Antwort auf: open printing to pdf

#6109
Klaus Major
Administrator

    Hallo Volker,

    ich nehme an -> tecdoku ist ein Ornder im Docs Ordner?
    dann sollte das unter Windows aber auch nicht funktionieren, denn es fehlt ein SLASH! -> specialFolderPath („documents“) & „/tecdoku/“

    Aber warum mit dem DEFAULTFOLDER herummachen, wenn wir doch einen tollen absoluten Pfad generieren können? Rein rhetorische Frage! 😎

    put specialFolderPath („documents“) & „/tecdoku/pdfdatei.pdf“ into var20
    open printing to pdf var20

    Aber Dein Attachment heisst anders als die frisch generierte Datei, muss das so?

    put specialFolderPath („documents“) & „/tecdoku/pdfdatei.pdf“ into var20

    put „tecdoku.pdf“ into tAttachment[„file“]

    put „brand.pdf“ into tAttachment[„name“]

    Gruß

    Klaus