Title: Re: "Save file with" dialog boxTry adding a close line to the end:
set myFile to choose file name with prompt "Save file as:"
save document "ScheduleMaster" in myFile
close saving no
Levon Spradlin
Desktop Publishing Technology Manager, Assessment & Information
Pearson
512-989-5300 x 3989 email@hidden
From: <email@hidden> Date: Thu, 30 Aug 2007 09:03:45 EDT To: <email@hidden> Subject: Re: "Save file with" dialog box
In a message dated 8/25/07 1:11:21 PM, email@hidden writes:
Wouldn't this work?
set myFile to choose file name with prompt "Save file as:"
--file "Macintosh HD:Users:appleScript:Documents:untitled"
tell application "Quark" to save document 1 in myFile
HTH,
ES
Pretty darn close!
set myFile to choose file name with prompt "Save file as:"
save document "ScheduleMaster" in myFile
does indeed let me rename the file and save it to a destination of my choosing. Thank you!
The only drawback is that one must manually close the open file after the save. It keeps erroring as if I'm asking the "saved version" of the document -- now in its' place on the hard disk -- to close. The only way is to have the script quit QuarkXPress, which I'd rather not do. One can live with manually having to close out the open doc, but this is a tad puzzling. Guess I can live with it, though.
This email may contain confidential material. If you were not
an intended recipient, Please notify the sender and delete all copies.
We may monitor email to and from our network.