• 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
Novice applescript question about saving all open files..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Novice applescript question about saving all open files..
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Newbie - can't launch
  • Next by Date: CGI posts- new to AS
  • Previous by thread: Re: Network Setup Scripting
  • Next by thread: Re: Novice applescript question about saving all open files..
  • Index(es):
    • Date
    • Thread