Commands

set

Supported By

Syntax

set [the] propertyName [(of|in) object] to propertyValue

PropertyName is the name of a property.

Examples

set the name of file "Untitled" to "MyFile"
set itemDelimiter to ":"

Description

The set command changes the specified property. If the object to which the property belongs is not specified, the interpreter is assumed.

Note

Some properties cannot be changed with the set command. These exceptions are noted in the documentation for the properties themselves.