ScriptPreference

Scripting environment preferences.

Properties

Property Type Access Description
enableRedraw bool r/w If true, enables redraw during script execution.
parent Application readonly The parent of the ScriptPreference (a Application).
properties Object r/w A property that allows setting of several properties at the same time.
scriptsFolder File readonly The path to the Scripts folder for the application.
scriptsList Array of any readonly A list of the scripts in the Scripts folder. Can return: Array of Array of 2 Strings or Files.
userInteractionLevel UserInteractionLevels
:
NEVER_INTERACT
INTERACT_WITH_ALL
INTERACT_WITH_ALERTS
r/w Controls the display of dialogs and alerts during script processing.
version string r/w The version of the scripting environment. Can also accept: Real.

Methods

Array of ScriptPreferencegetElements ()
Resolves the object specifier, creating an array of object references.

string toSource ()
Generates a string which, if executed, will return the ScriptPreference.

string toSpecifier ()
Retrieves the object specifier.

Element of:

Application.scriptPreferences

Returned by:

Array of ScriptPreference ScriptPreference .getElements (

)

Leave a Comment

Previous post:

Next post: