Scripting Additions Guide

CHAPTER 2
Scripting Addition Commands
6 Scripting Addition Files
Table 2-1 Scripting addition commands described in this guide
Name of
scripting addition file Name of command Description of command
Not a separate file;
part of AppleScript
extension
Activate Activates an application.
Log Places a string between comment
characters in the Script Editor’s
Event Log Window.
Start Log Turns logging on in the Script Editor’s
Event Log window.
Stop Log Turns logging off in the Script Editor’s
Event Log window.
Beep Beep Plays the alert sound.
Choose Application Choose Application Allows the user to choose a running
application from a dialog box.
Choose File Choose File Allows the user to choose a file from
a dialog box.
Choose Folder Allows the user to choose a folder
or volume from a dialog box.
Current Date Current Date Returns a date value that represents
the current time and date.
Display Dialog Display Dialog Displays a dialog box.
File Commands Info For Gets information for a file or folder.
List Disks Returns a list of currently
mounted disks.
List Folder Lists the contents of a specified folder.
Path To Returns full pathname to specified
folder or application.
continued