Preferences

Preferences for Illustrator.

Methods:

getBooleanPreference, getIntegerPreference, getRealPreference, getStringPreference, preferenceExists, removePreference, setBooleanPreference, setIntegerPreference, setRealPreference, setStringPreference

Property Listing

Property

Type

Access

Description

AutoCADFileOptions

OpenOptionsAutoCAD

readonly

Options to use when opening or placing a AutoCAD file.

PDFFileOptions

OpenOptionsPDF

readonly

Options to use when opening or placing a PDF file.

parent

 

readonly

The object's container.

photoshopFileOptions

OpenOptionsPhotoshop

readonly

Options to use when opening or placing a Photoshop file.

typename

String

readonly

The class name of the object.

Method Listing

Boolean getBooleanPreference (key:String)

Retrieve the value of the application preference key as boolean.

Parameter

Type

Description

key

String

The preference key.

Int32 getIntegerPreference (key:String)

Retrieve the value of the application preference key as integer.

Parameter

Type

Description

key

String

The preference key.

Number getRealPreference (key:String)

Retrieve the value of the application preference key as real number.

Parameter

Type

Description

key

String

The preference key.

String getStringPreference (key:String)

Retrieve the value of the application preference key as string type.

Parameter

Type

Description

key

String

The preference key.

Boolean preferenceExists (key:String)

Checks whether the application preference key exists.

Parameter

Type

Description

key

String

The preference key.

undefined removePreference (key:String)

Delete the application preference key.

Parameter

Type

Description

key

String

The preference key.

undefined setBooleanPreference (key:String, value:Boolean)

Set the value of the application preference key as boolean.

Parameter

Type

Description

key

String

The preference key.

value

Boolean

The boolean value of the preference key.

undefined setIntegerPreference (key:String, value:Int32)

Set the value of the application preference key as integer.

Parameter

Type

Description

key

String

The preference key.

value

Int32

The boolean value of the preference key.

undefined setRealPreference (key:String, value:Number)

Set the value of the application preference key as real number.

Parameter

Type

Description

key

String

The preference key.

value

Number

The real value of the preference key.

undefined setStringPreference (key:String, value:String)

Set the value of the application preference key as string type.

Parameter

Type

Description

key

String

The preference key.

value

String

The string value of the preference key.

Object of

Application.preferences