Apple AppleScript Finder Guide User Manual Page 119

  • Download
  • Add to my manuals
  • Print
  • Page
    / 168
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 118
CHAPTER 3
Finder Commands
Command Denitions 107
EXAMPLES
This statement closes all Finder windows:
tell application "Finder" to close windows
This statement closes all Finder windows whose name includes the word
“messages”:
tell application "Finder"
close windows whose name contains "messages"
end
You can also specify a container to which a window belongs as the parameter
of the Close command:
tell application "Finder"
close startup disk
end tell
Computer 3
The Computer command is a request for information about the local computer’s
operating environment.
This command is intended for use by programmers only. To use it, you should
be familiar with the Gestalt function as described in Inside Macintosh:
Operating System Utilities.
SYNTAX
computer gestaltSelector [ has bitsToTest ]
Page view 118
1 ... 118 119 120 ... 168

Comments to this Manuals

No comments