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: Nigel Smith <email@hidden>
- Date: Wed, 12 Feb 2003 13:11:13 +0000
On 10/2/03 19:57, "email@hidden" <email@hidden>
wrote:
>
Finder got an error: Can't set file "PDF:Tool Bar Dock.pdf" to
>
"Annual Data-1.pdf". [Error -10006}.
>
>
In Script Editor, +set the name of theknownPath to newName & ".pdf";
>
is highlighted when the error message displays.
Error -10006 is on OSA error, "An object cannot be set in a container."
A guess, but has the printing completed before you try and rename the file?
Try sticking in a big delay beofre you do the rename.
Might also be worth splitting the script in two for testing purposes, so you
can run the first half and check the PDF arrives where you think, then run
the second half to make sure the renaming is going properly.
HTH,
Nigel
_______________________________________________
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.