• 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: 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.
References: 
 >Re: Getting FMP to print to .ps via AppleScript (From: email@hidden)

  • Prev by Date: Internet Dis/Connect script?
  • Next by Date: Re: applescript CGI under 10.2.3 (server)
  • 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