Article ID: 125580
Article Last Modified on 11/23/2006
Close
Close 'something' [Saving ] [Saving In]
The Saving argument can have three values Yes - Will save the document before closing it. No - Will not save the document before closing it. Ask - Will prompt the user to either save or not save before closing the document.
The Saving In argument is the path you want the document to be saved to. If you change the file name in this path, the document will be saved under a different name.
open "MyWordFile" set selection to first word delete selection close "MyWordFile" Saving ask saving in "WordCopy"end tell
Additional query words: Apple script
Keywords: kbinfo kbmacro kbmacroexample kbprogramming kb3rdparty kbdtacode KB125580