Re: Getting FMP to print to .ps via AppleScript
Re: Getting FMP to print to .ps via AppleScript
- Subject: Re: Getting FMP to print to .ps via AppleScript
- From: David Hood <email@hidden>
- Date: Thu, 13 Feb 2003 11:19:44 +1300
On Tuesday, February 11, 2003, at 08:57 AM, email@hidden
wrote:
I get this error message from the Finder:
Finder got an error: Can't set file "PDF:Tool Bar Dock.pdf" to
"Annual Data-1.pdf". [Error -10006}.
Set theKnownPath to "PDF:Tool Bar Dock.pdf"
(--ie FMP's usual generic name; also saves as "Untitled")
tell application "FileMaker Developer" to set the newName to cell
"Applescript Name Annual Extract-1" of current record
tell application "Finder" to set the name of file theKnownPath to
newName & ".pdf"
And earlier you wrote:
I am creating postscript files in a watched folder on the desktop which
Distiller recreates as .pdfs.
I'd be wondering if the path you are providing to Finder is accurate. If
it is in the folder on the desktop I would expect something like
set theKnownPath to (((path to desktop) as string) & "PDF:Tool Bar
Dock.pdf")
_______________________________________________
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.