ScriptPreference

Scripting environment preferences.

Methods:

getElements, toSource, toSpecifier

Objects:

File, Number, Object, String, UserInteractionLevels,

Property Listing

Property

Type

Access

Description

parent

Application

readonly

The parent of the ScriptPreference (a Application).

properties

Object

read/write

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 2 Strings

Array of Files File

readonly

A list of the scripts in the Scripts folder. Can return: Array of Array of 2 Strings or Files.

userInteractionLevel

UserInteractionLevels

UserInteractionLevels.INTERACT_WITH_ALERTS

UserInteractionLevels.INTERACT_WITH_ALL

UserInteractionLevels.NEVER_INTERACT

read/write

Controls the display of dialogs and alerts during script processing.

version

Number

String

read/write

Version of the scripting environment. Can also accept: String.

Method Listing

Object getElements ()

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.

Object of

Application.scriptPreferences