ScriptArg

Arguments to pass to a script.

Methods:

clear, get, getElements, getValue, isDefined, restore, save, set, setValue, toSource, toSpecifier

Objects:

Object

Property Listing

Property

Type

Access

Description

parent

Application

readonly

The parent of the ScriptArg (a Application).

properties

Object

read/write

A property that allows setting of several properties at the same time.

Method Listing

undefined clear ()

Clears all script arguments.

String get (name:String)

Gets the value of a script argument.

Parameter

Type

Description

name

String

The name of the script argument.

ScriptArg getElements ()

Resolves the object specifier, creating an array of object references.

String getValue (name:String)

Gets the value of a script argument.

Parameter

Type

Description

name

String

The name of the script argument.

Boolean isDefined (name:String)

Verifies whether the script argument is defined.

Parameter

Type

Description

name

String

The name of the script argument.

undefined restore ()

Restores all script arguments.

undefined save ()

Saves the script arguments.

undefined set (name:String, value:String)

Sets the value of a script argument.

Parameter

Type

Description

name

String

The name of the script argument.

value

String

The value.

undefined setValue (name:String, value:String)

Sets the value of a script argument.

Parameter

Type

Description

name

String

The name of the script argument.

value

String

The value.

String toSource ()

Generates a string which, if executed, will return the ScriptArg.

String toSpecifier ()

Retrieves the object specifier.

Object of

Application.scriptArgs

Return

ScriptArg.getElements()