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: Mon, 22 Oct 2007 11:01:59 -0700
> 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