New Features and Enhancements In Standard Additions
The with prompt and with title parameters to the choose application command now support Unicode text.
The choose application dialog box now remembers the column widths.
The choose file and choose folder commands now have a showing package contents parameter that specifies whether packages should be treated as folders. The default is false.
The of type parameter to the choose file command now accepts either a list of file types or a list of type identifiers.
The choose from list command now has a with title parameter that specifies the title of the dialog. By default, the dialog does not have a title.
The choose from list command now supports Unicode text.
The choose from list command now supports long prompts and multi-line prompts.
The choose from list dialog now allows a text item to be selected by typing the first few characters of its name.
The choose from list dialog now supports full keyboard access.
A new choose remote application command has been added that enables the user to choose a running application on a remote machine or on the local machine.
The choose URL command now supports CIFS file servers.
A new display alert command has been added that displays a standard alert dialog that conforms to the Aqua Human Interface Guidelines.
¨Note that standard alert dialogs have the following restrictions:¨¢ A default button is required. The right-most button will be the default button unless the user specifies otherwise using the default button parameter.¨¢ The cancel button cannot be the same as the default button.
The display dialog command now has a cancel button parameter that specifies the name or number of the cancel button.
The display dialog command now has a hidden answer parameter that specifies whether editable text should be displayed as bullets. The default is false.
The display dialog command now has a with title parameter that specifies the title of the dialog. By default, the dialog does not have a title.
The default answer parameter to the display dialog command now supports Unicode text and linefeeds.
The with icon parameter to the display dialog command now accepts an alias or file reference to a “.icns” file.
The display dialog dialog now supports full keyboard access.
The display dialogdialog now uses Aqua icons for note, caution, and stop.
The display dialog dialog now conforms to the Aqua Human Interface Guidelines.
The do shell script command now displays the Mac OS X authentication dialog in order to obtain administrator privileges.
The do shell script command now has a user name parameter that specifies an administrator account. This parameter can be used along with the password parameter and the administrator privileges parameter in order to execute commands as an administrator without displaying an authentication dialog.
The info for command now has a size parameter that specifies whether the size of the item should be returned. The default is true.
The info for command now returns the type identifier for files.
The info for command now returns the short name (CFBundleName) for applications.
The info for command now returns the busy status for packages. The busy status is set to true if the package is marked as incomplete (kExtendedFlagObjectIsBusy).
The info for command now sets the busy status for non-bundled files to true if either the file is marked as open (kioFlAttribFileOpenBit) or the file is marked as incomplete (kExtendedFlagObjectIsBusy).
The list disks command now supports disk names that contain Unicode characters. The return value from the list disks command is now a list of Unicode strings. Previously, it was a list of plain strings.
A new localized string command has been added that returns a localized string for a specified key.
The path to command now has a folder constant for the Automator workflows folder.
The path to me command now returns the correct result for compiled scripts, including those that are run using the run script command.
A new path to resource command has been added that returns an alias to the specified resource.
The say command now accepts Unicode text and numbers as the direct parameter and as the displaying parameter.
A new system info command has been added that returns a record containing information about the system.