Preferences for Illustrator.
Go to Property Listing | Method Listing
getBooleanPreference, getIntegerPreference, getRealPreference, getStringPreference, preferenceExists, removePreference, setBooleanPreference, setIntegerPreference, setRealPreference, setStringPreference
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
Options to use when opening or placing a AutoCAD file. |
||
readonly |
Options to use when opening or placing a PDF file. |
||
readonly |
The object's container. |
||
readonly |
Options to use when opening or placing a Photoshop file. |
||
readonly |
The class name of the object. |
Boolean getBooleanPreference (key:String)
Retrieve the value of the application preference key as boolean.
Parameter |
Type |
Description |
---|---|---|
key |
The preference key. |
Int32 getIntegerPreference (key:String)
Retrieve the value of the application preference key as integer.
Parameter |
Type |
Description |
---|---|---|
key |
The preference key. |
Number getRealPreference (key:String)
Retrieve the value of the application preference key as real number.
Parameter |
Type |
Description |
---|---|---|
key |
The preference key. |
String getStringPreference (key:String)
Retrieve the value of the application preference key as string type.
Parameter |
Type |
Description |
---|---|---|
key |
The preference key. |
Boolean preferenceExists (key:String)
Checks whether the application preference key exists.
Parameter |
Type |
Description |
---|---|---|
key |
The preference key. |
undefined removePreference (key:String)
Delete the application preference key.
Parameter |
Type |
Description |
---|---|---|
key |
The preference key. |
undefined setBooleanPreference (key:String, value:Boolean)
Set the value of the application preference key as boolean.
Parameter |
Type |
Description |
---|---|---|
key |
The preference key. |
|
value |
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 |
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 |
The preference key. |
|
value |
The real value of the preference key. |
undefined setStringPreference (key:String, value:String)
Set the value of the application preference key as string type.
Application.preferences