ScriptPreference
Scripting environment preferences.
ScriptPreference Properties
| Property |
Type |
Access |
Description |
| parent |
Object |
read |
The parent of the object. |
| properties |
An array of property names and values |
r/w |
Property that allows setting of several properties at the same time. |
| scriptsList |
Array of Strings |
read |
A list of the scripts in the application’s Scripts folder. |
| userInteractionLevel |
UserInteractionLevels enumeration |
r/w |
How to interact with the user (whether to display dialogs and/or alerts). |
| version |
Real |
r/w |
Version of the scripting environment. |
ScriptPreference Methods
| Method |
Returns |
Description |
| getElements |
Array of Objects |
Resolve the object specifier. |
| toSource |
String |
Generate JavaScript source that, if executed, will return the specified objects. |
| toSpecifier |
String |
Retrieve the object specifier. |