Re: Print to pdf in FileMaker
Re: Print to pdf in FileMaker
- Subject: Re: Print to pdf in FileMaker
- From: Jay Louvion <email@hidden>
- Date: Tue, 23 Oct 2007 18:59:24 +0200
- Thread-topic: Print to pdf in FileMaker
Title: Re: Print to pdf in FileMaker
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:
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 ?
j.
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
www.studiocasagrande.com
P Please consider the environment before printing this email.
_______________________________________________
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