Re: Print to pdf in FileMaker
Re: Print to pdf in FileMaker
- Subject: Re: Print to pdf in FileMaker
- From: Bruce Robertson <email@hidden>
- Date: Tue, 23 Oct 2007 14:34:04 -0700
> On 22.10.2007 20:01, "Bruce Robertson" <email@hidden> spake thus:
>
>>> I had a look at Richard's suggestion which is much more effective and made a
>>> test script in Filemaker to show you the script setting:
>>>
>>>
>>> test_print_script
>>> Go to Layout [ ³PRINT-Profile² (Profile) ]
>>> Set Variable [ $$FileName; Value:student::AutoStudFileName ]
>>> Save Records as PDF [ File Name:
>>> ³file:../../Users/YourName/Desktop/$$FileName²; Current record ]
>>
>> Instead, consider using the various built in path functions, search for
>> "path" in FileMaker help:
>>
>> Get( desktopPath )
>> Get( documentsPath )
>> Get( Filepath )
>> Get( FileMakerpath )
>> Get( PreferencesPath )
>> Get( Temporary Path ) (new in FM9)
>>
>> Set Variable [ $FileName;
>> "file:" & get(DesktoPath) & Value:student::AutoStudFileName & ".pdf"]
>> Save Records as PDF [ File Name: $path]
>>
>> No need to use the global variable form ($$) unless you will be referring to
>> this value in another script.
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> AppleScript-Users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> de.com
>> Archives: http://lists.apple.com/archives/applescript-users
>>
>> This email sent to email@hidden
>>
>>
> Thank you very much to both of you in particular for the different yet ever so
> complementary advice you brought to the table.
>
> The script is now a sweet mixture of vanilla AS (cleaning up and opening up
> newly generated email) and inbuilt FM script. What a power team!
>
> Many thanks once more.
>
> Best,
>
> PS not crucial, but when using the ³send email² script command in FM, is
> there a way of keeping the HTML formatting of my usual Entourage signatures ?
No.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden