• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting FMP to print to .ps via AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Getting FMP to print to .ps via AppleScript
      • From: email@hidden
References: 
 >Re: Getting FMP to print to .ps via AppleScript (From: email@hidden)

  • Prev by Date: search and replace in tex-edit
  • Next by Date: Re: Help with Filemaker 5.5
  • Previous by thread: Re: Getting FMP to print to .ps via AppleScript
  • Next by thread: Re: Getting FMP to print to .ps via AppleScript
  • Index(es):
    • Date
    • Thread