Novice applescript question about saving all open files..
Novice applescript question about saving all open files..
- Subject: Novice applescript question about saving all open files..
- From: Charles Bennett <email@hidden>
- Date: Sun, 30 Sep 2001 11:59:50 -0400
Hi, I've been reading the "finder" book and am trying to figure
out how to tell all of the open applications to save any open files and quit
in preperation for a shutdown.
This is under OS X 10.1
I tried
tell application "Finder"
if the (count of applications) is not 0 then
tell every application to quit saving = yes
end if
end tell
This passes the syntax check and run with no error (or messages for that matter)
but doesn't see to cause my test app (TextEdit with an open file that has been saved once
but now has modified text)
This is quite literally my first AppleScript beyond "bob" so any pointers would be
greatly appreciated.
A google search for saving all files with applescript didn't
turn up anyting I could use.
thanks
chuck