Re: "Save file with" dialog box
Re: "Save file with" dialog box
- Subject: Re: "Save file with" dialog box
- From: email@hidden
- Date: Thu, 30 Aug 2007 09:03:45 EDT
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.
**************************************
Get a sneak peek of the all-new AOL at http://discover.aol.com/memed/aolcom30tour
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden