Apple AppleScript Finder Guide User Manual Page 118

  • Download
  • Add to my manuals
  • Print
  • Page
    / 168
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 117
CHAPTER 3
Finder Commands
106 Command Denitions
However, if the window for a folder is open, you can use a script like this to
clean up the contents of the window:
tell application "Finder"
clean up contents of folder "My Folder" of window of startup disk
end tell
Close 3
A Close command is a request to close one or more windows. The Finder
version of the Close command behaves like the standard version described in
the AppleScript Language Guide, except that the Finder ignores the saving and
saving in parameters recognized by AppleScript and most other
applications.
SYNTAX
close referenceToObject
PARAMETERS
referenceToObject
A reference to the object to close or a list of references. The
reference can be to either a window or a container to which
a window belongs.
Class: Reference
RESULT
Reference to the closed window or a list of references.
Page view 117
1 ... 117 118 119 ... 168

Comments to this Manuals

No comments