Adds an event listener.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Boolean | read/write | If true, enables redraw during script execution. | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| AutoEnum | MeasurementUnits | read/write | The measurement unit used during script processing. Can return: AutoEnum enumerator or MeasurementUnits enumerator. | |
| Application | readonly | The parent of the ScriptPreference (a Application). | |
| Object | read/write | A property that allows setting of several properties at the same time. | |
| Folder async | readonly | The path to the Scripts folder for the application. | |
| 2 Strings[] | Files[] | readonly | A list of the scripts in the Scripts folder. Can return: Array of Array of 2 Strings or Files. | |
| String | Real | read/write | The version of the scripting environment. Can also accept: Real. |
Methods
→ ScriptPreference[]
Resolves the object specifier, creating an array of object references.
→ Boolean
Removes the event listener.
→ String
Generates a string which, if executed, will return the ScriptPreference.
→ String
Retrieves the object specifier.
Object of 4
Properties elsewhere that hold a ScriptPreference.
Return 1
Methods that return a ScriptPreference.