Re: Attaching a PDF using Entourage and FileMaker
Re: Attaching a PDF using Entourage and FileMaker
- Subject: Re: Attaching a PDF using Entourage and FileMaker
- From: Courtney Moore <email@hidden>
- Date: Mon, 19 May 2003 11:31:29 -0500
Sorry there was no bolded text... The problem line is in all CAPS. I don't
know how to reference the file I want to attach because it will always have
a different name.
I am trying to automate the following process on OS 10.2.6 ...
Printing a layout from FileMaker as a PDF to the desktop.
Then renaming the PDF and attaching the renamed PDF to an attachment using
Entrouage.
The name of the PDF will never be the same
Here is the current script I am trying to tweek the bolded text is where
more problem seems to be:
Set fileName to field ("fieldName" as text)
Tell application "finder"
Set name of file "pdf.pdf" of desktop to "PO_" & fileName
SET MYATTACHMENT TO NAME OF {FILE "PO_" & FILENAME OF DESKTOP}
End tell
Tell appliation "Microsoft Entourage"
Activate
Set draftWindow to make new draft window with properties ,
{attachment:{file:myAttachment}}
End tell
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.