Adobe Illustrator CS6 Type Library JS: Preferences

Illustrator CS6

Class

Preferences

 Preferences for Illustrator.

QuickLinks

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

Hierarchy

Object
Preferences

Properties

PropertyTypeAccessDescription
AutoCADFileOptionsOpenOptionsAutoCAD readonlyOptions to use when opening or placing a AutoCAD file.
PDFFileOptionsOpenOptionsPDF readonlyOptions to use when opening or placing a PDF file.
parentObject readonlyThe object's container.
photoshopFileOptionsOpenOptionsPhotoshop readonlyOptions to use when opening or placing a Photoshop file.
typenamestring readonlyThe class name of the object.

Methods

Instances

bool getBooleanPreference (key: string)
Retrieve the value of the application preference key as boolean.

ParameterTypeDescription
keystringThe preference key.

Int32 getIntegerPreference (key: string)
Retrieve the value of the application preference key as integer.

ParameterTypeDescription
keystringThe preference key.

number getRealPreference (key: string)
Retrieve the value of the application preference key as real number.

ParameterTypeDescription
keystringThe preference key.

string getStringPreference (key: string)
Retrieve the value of the application preference key as string type.

ParameterTypeDescription
keystringThe preference key.

void removePreference (key: string)
Delete the application preference key.

ParameterTypeDescription
keystringThe preference key.

void setBooleanPreference (key: string, value: bool)
Set the value of the application preference key as boolean.

ParameterTypeDescription
keystringThe preference key.
valueboolThe boolean value of the preference key.

void setIntegerPreference (key: string, value: Int32)
Set the value of the application preference key as integer.

ParameterTypeDescription
keystringThe preference key.
valueInt32The boolean value of the preference key.

void setRealPreference (key: string, value: number)
Set the value of the application preference key as real number.

ParameterTypeDescription
keystringThe preference key.
valuenumberThe real value of the preference key.

void setStringPreference (key: string, value: string)
Set the value of the application preference key as string type.

ParameterTypeDescription
keystringThe preference key.
valuestringThe string value of the preference key.

Element of

Application.preferences

Jongware, 25-Nov-2012 v3.0.3iContents :: Index