• 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: "Save file with" dialog box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: "Save file with" dialog box
      • From: Levon Spradlin <email@hidden>
  • Prev by Date: Re: XML - System Events vs XMLlib
  • Next by Date: Re: XML - System Events vs XMLlib
  • Previous by thread: Re: "Save file with" dialog box
  • Next by thread: Re: "Save file with" dialog box
  • Index(es):
    • Date
    • Thread