Packagecom.adobe.illustrator
Classpublic class Application
InheritanceApplication Inheritance IllustratorHostObject Inheritance CSHostObject Inheritance flash.utils.Proxy

Since : CS5

The Adobe Illustrator application.



Public Properties
 PropertyDefined By
  activeDocument : Document
The active document.
Application
  browserAvailable : Boolean
[read-only] Is a web browser available?
Application
  buildNumber : String
[read-only] The build number of the Adobe Illustrator application.
Application
  colorSettingsList : Object
[read-only] The list of color settings files currently available for use.
Application
  coordinateSystem : CoordinateSystem
Coordinate System used by script
Application
  defaultColorSettings : File
[read-only] The default color settings file for the current application locale.
Application
  documents : Documents
[read-only] The open documents.
Application
  flattenerPresetsList : Object
[read-only] The list of flattener style names currently available for use.
Application
  freeMemory : Number
[read-only] The amount of unused memory within the Adobe Illustrator partition.
Application
 InheritedhostObjectDelegate : HostObject
Getter for the delegate
CSHostObject
  locale : String
[read-only] The Locale of the Adobe Illustrator application.
Application
  name : String
[read-only] The application's name.
Application
 Inheritedparent : *
[read-only]
IllustratorHostObject
  path : File
[read-only] Path specification for the application.
Application
  PDFPresetsList : Object
[read-only] The list of PDF preset names currently available for use.
Application
  PPDFileList : Object
[read-only] The list of PPD files currently available for use.
Application
  preferences : Preferences
[read-only] Preferences for Illustrator.
Application
  printerList : Object
[read-only] The list of installed printers.
Application
  printPresetsList : Object
[read-only] The list of print preset names currently available for use.
Application
  scriptingVersion : String
[read-only] The version of the Scripting plugin.
Application
  selection : Object
The selection visible to the user.
Application
  startupPresetsList : Object
[read-only] The list of presets available for creating a new document.
Application
  textFonts : TextFonts
[read-only] Installed fonts.
Application
  tracingPresetsList : Object
[read-only] The list of tracing preset names currently available for use.
Application
  userInteractionLevel : UserInteractionLevel
What level of interaction with the user should be allowed when handling script commands.
Application
  version : String
[read-only] The version of the Adobe Illustrator application.
Application
  visible : Boolean
[read-only] Is the application visible.
Application
Public Methods
 MethodDefined By
  
aATAddItem(sessionIndex:Number, destinationSequenceID:Number, destinationIndex:Number, srcItemIDData:String, type:String):String
Add the specified to the sequencer.
Application
  
aATClear():String
Clear the sequencer.
Application
  
aATDuplicateItem(sessionIndex:Number, item:String):String
Duplicates the specified item(s) from the sequencer.
Application
  
aATEditItem(sessionIndex:Number, item:String):String
Opens the specified item from the sequencer in the item editor.
Application
  
aATErrorsExist():Boolean
Retrieves a boolean indicating the presence of errors in the last script to execute.
Application
  
Executes the active session in the sequencer.
Application
  
Executes the active session in the sequencer.
Application
  
aATFileRelativeChanged(path:String, relative:String, newRelative:String):String
Switches a files relative token and path.
Application
  
aATFileSaveDialog(path:String, relative:String, type:String):String
Prompts the user to save a file or choose a file or directory and returns a relative path string to the file.
Application
  
Retrieves a file path to the AAT editor swf.
Application
  
Retrieves a file path to the AAT error dialog swf.
Application
  
Gets an XML string listing the relative paths and the UI strings to display them.
Application
  
aATGetSession():String
Get the active session for the sequncer.
Application
  
Loads a session file as an extension to the editor.
Application
  
aATLoadModel():String
Loads the aat model to the editor.
Application
  
Loads a session into the sequencer.
Application
  
Loads a UI description as an extension to the editor.
Application
  
aATMoveItem(sessionIndex:Number, moveThisID:String, newSessionIndex:Number, destinationSequenceID:String, destinationIndex:Number):String
Moves the specified in the sequencer.
Application
  
aATRemoveItem(sessionIndex:Number, item:String):String
Removes the specified item from the sequencer.
Application
  
aATReplaceItem(sessionIndex:Number, replaceThisID:Number, srcItemIDData:String, type:String):String
Replaces the specified to the sequencer.
Application
  
Saves the active session in the sequencer to a new file.
Application
  
Saves the active session in the sequencer to a file.
Application
  
applyDataToItem(sessionIndex:Number, item:String, data:String):String
Applies the data used in the item editor to the item.
Application
  
applySingleDataPointToItem(sessionIndex:Number, item:String, dataID:String, data:String):Boolean
Applies data to the specified item from the sequencer in the item editor.
Application
  
beep():void
Application
  
concatenateMatrix(matrix:Matrix, secondMatrix:Matrix):Matrix
Concatenate two transformation matrices.
Application
  
Concatenate a rotation matrix to a transformation matrix.
Application
  
concatenateScaleMatrix(matrix:Matrix, scaleX:Number = 100.0, scaleY:Number = 100.0):Matrix
Concatenate a scale matrix to a transformation matrix.
Application
  
concatenateTranslationMatrix(matrix:Matrix, deltaX:Number = 0.0, deltaY:Number = 0.0):Matrix
Concatenate a translation to a transformation matrix.
Application
  
convertSampleColor(sourceColorSpace:ImageColorSpace, sourceColor:Object, destColorSpace:ImageColorSpace, colorConvertPurpose:ColorConvertPurpose, sourceHasAlpha:Boolean = false, destHasAlpha:Boolean = false):Object
Converts a sample-component color from one color space to another.
Application
  
copy():void
Copy current selection to the clipboard.
Application
  
cut():void
Cut current selection to the clipboard.
Application
 Inherited
filterArgsForHBAPI(args:Array):Array
[static] Function to clean up the argument list and put it into a format that makes sense for HBAPI.
CSHostObject
 Inherited
filterSingleObjectForHBAPI(value:Object):Object
[static]
CSHostObject
 Inherited
getClassObjectForName(className:String):HostObject
[static] This returns a "Class" object, meaning, a HostObject that can be used to make static function calls or get static properties
CSHostObject
  
Retrieves a string containing the results of the last script to execute.
Application
  
Returns an identity matrix.
Application
  
Get detailed info from the specified PPD file.
Application
  
Given a preset type, returns the full path to the application's default document profile for the type.
Application
  
Given a preset name, tries and retrieves the settings from the preset template.
Application
  
getRotationMatrix(angle:Number = 0.0):Matrix
Returns a rotation transformation matrix.
Application
  
getScaleMatrix(scaleX:Number = 100.0, scaleY:Number = 100.0):Matrix
Returns a scale transformation matrix.
Application
  
Get the scriptable help group object that represents the search widget in the app bar.
Application
 Inherited
getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):*
[static]
CSHostObject
  
getTranslationMatrix(deltaX:Number = 0.0, deltaY:Number = 0.0):Matrix
Returns a translation matrix.
Application
  
Retrieves a string representing the AAT version.
Application
 Inherited
hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
CSHostObject
 Inherited
hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):*
[static] Implements a safe call of a static method on the host
CSHostObject
 Inherited
hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
CSHostObject
 Inherited
hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
CSHostObject
 Inherited
hostGetStatic(className:String, propertyName:String, expectedReturnType:Class):*
[static] Implements a safe get of a static property on the host Used by for instance, all the enum implementations.
CSHostObject
 Inherited
hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
CSHostObject
 Inherited
hostSetStatic(className:String, propertyName:String, rawvalue:*):*
[static] Implements a safe set of a static property on the host
CSHostObject
  
Invert a matrix.
Application
 Inherited
isDescendedFrom(clz:Class, ancClass:Class):Boolean
[static] Efficiently determines whether or not one class descends from another in inheritance hierarchy- class relationships are cached by the ClassUtils implementation- (uses org.as3commons lib to quickly discover class hierarchy.
CSHostObject
  
isEqualMatrix(matrix:Matrix, secondMatrix:Matrix):Boolean
Compares two matrices for equality.
Application
  
isSingularMatrix(matrix:Matrix):Boolean
Tests if a matrix is singular (cannot be inverted)
Application
  
loadColorSettings(fileSpec:File):void
Load the color settings from the file.
Application
  
open(file:File, documentColorSpace:DocumentColorSpace = null, options:Object = null):Document
Open the specified document file.
Application
  
paste():void
Paste clipboard into the current document.
Application
  
quit():void
Quit the application.
Application
  
redo():void
Redo the last transaction.
Application
  
redraw():void
Force Illustrator to redraw its window(s)
Application
 Inherited
replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call.
CSHostObject
  
runAPITest(testName:String):void
Runs API Tests from the TestAPI Plug-in
Application
  
showPresets(fileSpec:File):Object
Get presets from the file.
Application
  
translatePlaceholderText(text:String):String
Translate the placeholder text to regular text.
Application
  
translateString(key:String, source:String):String
Returns a string translated from the key and source data passed in.
Application
  
undo():void
Undo the last transaction.
Application
 Inherited
wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):*
[static] Method used on static/normal get/ hostcalls
CSHostObject
Protected Methods
 MethodDefined By
 Inherited
createWithArgs(args:Array):void
CSHostObject
 Inherited
hostCreate(args:Array):void
CSHostObject
Property Detail
activeDocumentproperty
activeDocument:Document

Since : CS5

The active document.


Implementation
    public function get activeDocument():Document
    public function set activeDocument(value:Document):void
browserAvailableproperty 
browserAvailable:Boolean  [read-only]

Since : CS5

Is a web browser available?


Implementation
    public function get browserAvailable():Boolean
buildNumberproperty 
buildNumber:String  [read-only]

Since : CS5

The build number of the Adobe Illustrator application.


Implementation
    public function get buildNumber():String
colorSettingsListproperty 
colorSettingsList:Object  [read-only]

Since : CS5

The list of color settings files currently available for use.


Implementation
    public function get colorSettingsList():Object
coordinateSystemproperty 
coordinateSystem:CoordinateSystem

Since : CS5

Coordinate System used by script


Implementation
    public function get coordinateSystem():CoordinateSystem
    public function set coordinateSystem(value:CoordinateSystem):void
defaultColorSettingsproperty 
defaultColorSettings:File  [read-only]

Since : CS5

The default color settings file for the current application locale.


Implementation
    public function get defaultColorSettings():File
documentsproperty 
documents:Documents  [read-only]

Since : CS5

The open documents.


Implementation
    public function get documents():Documents
flattenerPresetsListproperty 
flattenerPresetsList:Object  [read-only]

Since : CS5

The list of flattener style names currently available for use.


Implementation
    public function get flattenerPresetsList():Object
freeMemoryproperty 
freeMemory:Number  [read-only]

Since : CS5

The amount of unused memory within the Adobe Illustrator partition.


Implementation
    public function get freeMemory():Number
localeproperty 
locale:String  [read-only]

Since : CS5

The Locale of the Adobe Illustrator application.


Implementation
    public function get locale():String
nameproperty 
name:String  [read-only]

Since : CS5

The application's name.


Implementation
    public function get name():String
pathproperty 
path:File  [read-only]

Since : CS5

Path specification for the application.


Implementation
    public function get path():File
PDFPresetsListproperty 
PDFPresetsList:Object  [read-only]

Since : CS5

The list of PDF preset names currently available for use.


Implementation
    public function get PDFPresetsList():Object
PPDFileListproperty 
PPDFileList:Object  [read-only]

Since : CS5

The list of PPD files currently available for use. For performance reasons, the PPDFile entry only contains the model name and file spec of each PPD file.


Implementation
    public function get PPDFileList():Object
preferencesproperty 
preferences:Preferences  [read-only]

Since : CS5

Preferences for Illustrator.


Implementation
    public function get preferences():Preferences
printerListproperty 
printerList:Object  [read-only]

Since : CS5

The list of installed printers.


Implementation
    public function get printerList():Object
printPresetsListproperty 
printPresetsList:Object  [read-only]

Since : CS5

The list of print preset names currently available for use.


Implementation
    public function get printPresetsList():Object
scriptingVersionproperty 
scriptingVersion:String  [read-only]

Since : CS5

The version of the Scripting plugin.


Implementation
    public function get scriptingVersion():String
selectionproperty 
selection:Object

Since : CS5

The selection visible to the user.


Implementation
    public function get selection():Object
    public function set selection(value:Object):void
startupPresetsListproperty 
startupPresetsList:Object  [read-only]

Since : CS5

The list of presets available for creating a new document.


Implementation
    public function get startupPresetsList():Object
textFontsproperty 
textFonts:TextFonts  [read-only]

Since : CS5

Installed fonts.


Implementation
    public function get textFonts():TextFonts
tracingPresetsListproperty 
tracingPresetsList:Object  [read-only]

Since : CS5

The list of tracing preset names currently available for use.


Implementation
    public function get tracingPresetsList():Object
userInteractionLevelproperty 
userInteractionLevel:UserInteractionLevel

Since : CS5

What level of interaction with the user should be allowed when handling script commands.


Implementation
    public function get userInteractionLevel():UserInteractionLevel
    public function set userInteractionLevel(value:UserInteractionLevel):void
versionproperty 
version:String  [read-only]

Since : CS5

The version of the Adobe Illustrator application.


Implementation
    public function get version():String
visibleproperty 
visible:Boolean  [read-only]

Since : CS5

Is the application visible.


Implementation
    public function get visible():Boolean
Method Detail
aATAddItem()method
public function aATAddItem(sessionIndex:Number, destinationSequenceID:Number, destinationIndex:Number, srcItemIDData:String, type:String):String

Since : CS5

Add the specified to the sequencer.

Parameters

sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to add.
 
destinationSequenceID:Number — (Number) The UID for the owning sequence.
 
destinationIndex:Number — (Number) The item UID where to insert.
 
srcItemIDData:String — (String) The item ID of the item to construct.
 
type:String — (String) The source of the item to construct.

Returns
String
aATClear()method 
public function aATClear():String

Since : CS5

Clear the sequencer.

Returns
String
aATDuplicateItem()method 
public function aATDuplicateItem(sessionIndex:Number, item:String):String

Since : CS5

Duplicates the specified item(s) from the sequencer.

Parameters

sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to add.
 
item:String — (String) The item UID(s)

Returns
String
aATEditItem()method 
public function aATEditItem(sessionIndex:Number, item:String):String

Since : CS5

Opens the specified item from the sequencer in the item editor.

Parameters

sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to add.
 
item:String — (String) The item UID.

Returns
String
aATErrorsExist()method 
public function aATErrorsExist():Boolean

Since : CS5

Retrieves a boolean indicating the presence of errors in the last script to execute.

Returns
Boolean
aATExecuteSession()method 
public function aATExecuteSession():void

Since : CS5

Executes the active session in the sequencer.

aATExecuteSessionFromFile()method 
public function aATExecuteSessionFromFile(file:File):void

Since : CS5

Executes the active session in the sequencer.

Parameters

file:File — (flash.filesystem.File) Execute a session file.

aATFileRelativeChanged()method 
public function aATFileRelativeChanged(path:String, relative:String, newRelative:String):String

Since : CS5

Switches a files relative token and path.

Parameters

path:String — (String) The path relative to the folder specified by Relative.
 
relative:String — (String) The current relative path token.
 
newRelative:String — (String) The new relative path token.

Returns
String
aATFileSaveDialog()method 
public function aATFileSaveDialog(path:String, relative:String, type:String):String

Since : CS5

Prompts the user to save a file or choose a file or directory and returns a relative path string to the file.

Parameters

path:String — (String) The path relative to the folder specified by Relative.
 
relative:String — (String) The current relative path token.
 
type:String — (String) The type of dialog to show in string format.

Returns
String
aATGetEditorDialogFile()method 
public function aATGetEditorDialogFile():File

Since : CS5

Retrieves a file path to the AAT editor swf.

Returns
File
aATGetErrorDialogFile()method 
public function aATGetErrorDialogFile():File

Since : CS5

Retrieves a file path to the AAT error dialog swf.

Returns
File
aATGetListOfRelativePaths()method 
public function aATGetListOfRelativePaths():String

Since : CS5

Gets an XML string listing the relative paths and the UI strings to display them.

Returns
String
aATGetSession()method 
public function aATGetSession():String

Since : CS5

Get the active session for the sequncer.

Returns
String
aATLoadLibExtension()method 
public function aATLoadLibExtension():String

Since : CS5

Loads a session file as an extension to the editor.

Returns
String
aATLoadModel()method 
public function aATLoadModel():String

Since : CS5

Loads the aat model to the editor.

Returns
String
aATLoadSessionFile()method 
public function aATLoadSessionFile():String

Since : CS5

Loads a session into the sequencer.

Returns
String
aATLoadUIExtension()method 
public function aATLoadUIExtension():String

Since : CS5

Loads a UI description as an extension to the editor.

Returns
String
aATMoveItem()method 
public function aATMoveItem(sessionIndex:Number, moveThisID:String, newSessionIndex:Number, destinationSequenceID:String, destinationIndex:Number):String

Since : CS5

Moves the specified in the sequencer.

Parameters

sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to move.
 
moveThisID:String — (String) The UID of the item to replace.
 
newSessionIndex:Number — (Number) The index in the session of the destination top-most sequence.
 
destinationSequenceID:String — (String) The UID for the owning sequence.
 
destinationIndex:Number — (Number) The index where to insert.

Returns
String
aATRemoveItem()method 
public function aATRemoveItem(sessionIndex:Number, item:String):String

Since : CS5

Removes the specified item from the sequencer.

Parameters

sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to add.
 
item:String — (String) The item UID.

Returns
String
aATReplaceItem()method 
public function aATReplaceItem(sessionIndex:Number, replaceThisID:Number, srcItemIDData:String, type:String):String

Since : CS5

Replaces the specified to the sequencer.

Parameters

sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to add.
 
replaceThisID:Number — (Number) The UID of the item to replace.
 
srcItemIDData:String — (String) The item ID of the item to construct.
 
type:String — (String) The source of the item to construct.

Returns
String
aATSaveAsSession()method 
public function aATSaveAsSession():String

Since : CS5

Saves the active session in the sequencer to a new file.

Returns
String
aATSaveSession()method 
public function aATSaveSession():String

Since : CS5

Saves the active session in the sequencer to a file.

Returns
String
applyDataToItem()method 
public function applyDataToItem(sessionIndex:Number, item:String, data:String):String

Since : CS5

Applies the data used in the item editor to the item.

Parameters

sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to edit.
 
item:String — (String) The item UID.
 
data:String — (String) The data to apply in XML format.

Returns
String
applySingleDataPointToItem()method 
public function applySingleDataPointToItem(sessionIndex:Number, item:String, dataID:String, data:String):Boolean

Since : CS5

Applies data to the specified item from the sequencer in the item editor.

Parameters

sessionIndex:Number — (Number) The index in the session of the top-most sequence for the item to add.
 
item:String — (String) The item UID.
 
dataID:String — (String) The data to apply in XML format.
 
data:String — (String) The data to apply in XML format.

Returns
Boolean
beep()method 
public function beep():void

Since : CS5

concatenateMatrix()method 
public function concatenateMatrix(matrix:Matrix, secondMatrix:Matrix):Matrix

Since : CS5

Concatenate two transformation matrices.

Parameters

matrix:Matrix — (com.adobe.illustrator.Matrix) The matrix that is to be added to.
 
secondMatrix:Matrix — (com.adobe.illustrator.Matrix) Second transformation matrix.

Returns
Matrix
concatenateRotationMatrix()method 
public function concatenateRotationMatrix(matrix:Matrix, angle:Number):Matrix

Since : CS5

Concatenate a rotation matrix to a transformation matrix.

Parameters

matrix:Matrix — (com.adobe.illustrator.Matrix) The matrix that is to be added to.
 
angle:Number — (Number) Angle of rotation (in degrees)

Returns
Matrix
concatenateScaleMatrix()method 
public function concatenateScaleMatrix(matrix:Matrix, scaleX:Number = 100.0, scaleY:Number = 100.0):Matrix

Since : CS5

Concatenate a scale matrix to a transformation matrix.

Parameters

matrix:Matrix — (com.adobe.illustrator.Matrix) The matrix that is to be added to.
 
scaleX:Number (default = 100.0) — (Number) Horizontal scaling factor expressed as a percentage (100 = 100%) ( default: 100.0 )
 
scaleY:Number (default = 100.0) — (Number) Vertical scaling factor expressed as a percentage (100 = 100%) ( default: 100.0 )

Returns
Matrix
concatenateTranslationMatrix()method 
public function concatenateTranslationMatrix(matrix:Matrix, deltaX:Number = 0.0, deltaY:Number = 0.0):Matrix

Since : CS5

Concatenate a translation to a transformation matrix.

Parameters

matrix:Matrix — (com.adobe.illustrator.Matrix) The matrix that is to be added to.
 
deltaX:Number (default = 0.0) — (Number) Horizontal transformation. ( default: 0.0 )
 
deltaY:Number (default = 0.0) — (Number) Vertical transformation. ( default: 0.0 )

Returns
Matrix
convertSampleColor()method 
public function convertSampleColor(sourceColorSpace:ImageColorSpace, sourceColor:Object, destColorSpace:ImageColorSpace, colorConvertPurpose:ColorConvertPurpose, sourceHasAlpha:Boolean = false, destHasAlpha:Boolean = false):Object

Since : CS5

Converts a sample-component color from one color space to another.

Parameters

sourceColorSpace:ImageColorSpace — (com.adobe.illustrator.ImageColorSpace) The source color space.
 
sourceColor:Object — (Object) The color to convert, an array of color components. First location of the array should contain alpha if source-has-alpha is true.
 
destColorSpace:ImageColorSpace — (com.adobe.illustrator.ImageColorSpace) The destination color space.
 
colorConvertPurpose:ColorConvertPurpose — (com.adobe.illustrator.ColorConvertPurpose) The parameter which passes the purpose of conversion.
 
sourceHasAlpha:Boolean (default = false) — (Boolean) True if alpha channel is present in source color. ( default: false )
 
destHasAlpha:Boolean (default = false) — (Boolean) True if alpha channel is present in destination color. ( default: false )

Returns
Object
copy()method 
public function copy():void

Since : CS5

Copy current selection to the clipboard.

cut()method 
public function cut():void

Since : CS5

Cut current selection to the clipboard.

getExecutionOutput()method 
public function getExecutionOutput():String

Since : CS5

Retrieves a string containing the results of the last script to execute.

Returns
String
getIdentityMatrix()method 
public function getIdentityMatrix():Matrix

Since : CS5

Returns an identity matrix.

Returns
Matrix
getPPDFileInfo()method 
public function getPPDFileInfo(name:String):PPDFileInfo

Since : CS5

Get detailed info from the specified PPD file.

Parameters

name:String — (String) The model name of the PPD file.

Returns
PPDFileInfo
getPresetFileOfType()method 
public function getPresetFileOfType(presetType:DocumentPresetType):File

Since : CS5

Given a preset type, returns the full path to the application's default document profile for the type.

Parameters

presetType:DocumentPresetType — (com.adobe.illustrator.DocumentPresetType) The preset type.

Returns
File
getPresetSettings()method 
public function getPresetSettings(preset:String):DocumentPreset

Since : CS5

Given a preset name, tries and retrieves the settings from the preset template.

Parameters

preset:String — (String) The name of the preset.

Returns
DocumentPreset
getRotationMatrix()method 
public function getRotationMatrix(angle:Number = 0.0):Matrix

Since : CS5

Returns a rotation transformation matrix.

Parameters

angle:Number (default = 0.0) — (Number) Angle of rotation (in degrees) ( default: 0.0 )

Returns
Matrix
getScaleMatrix()method 
public function getScaleMatrix(scaleX:Number = 100.0, scaleY:Number = 100.0):Matrix

Since : CS5

Returns a scale transformation matrix.

Parameters

scaleX:Number (default = 100.0) — (Number) Horizontal scaling factor expressed as a percentage (100 = 100%) ( default: 100.0 )
 
scaleY:Number (default = 100.0) — (Number) Vertical scaling factor expressed as a percentage (100 = 100%) ( default: 100.0 )

Returns
Matrix
getScriptableHelpGroup()method 
public function getScriptableHelpGroup():Object

Since : CS5

Get the scriptable help group object that represents the search widget in the app bar.

Returns
Object
getTranslationMatrix()method 
public function getTranslationMatrix(deltaX:Number = 0.0, deltaY:Number = 0.0):Matrix

Since : CS5

Returns a translation matrix.

Parameters

deltaX:Number (default = 0.0) — (Number) Horizontal transformation. ( default: 0.0 )
 
deltaY:Number (default = 0.0) — (Number) Vertical transformation. ( default: 0.0 )

Returns
Matrix
getVersionString()method 
public function getVersionString():String

Since : CS5

Retrieves a string representing the AAT version.

Returns
String
invertMatrix()method 
public function invertMatrix(matrix:Matrix):Matrix

Since : CS5

Invert a matrix.

Parameters

matrix:Matrix — (com.adobe.illustrator.Matrix) The matrix to invert.

Returns
Matrix
isEqualMatrix()method 
public function isEqualMatrix(matrix:Matrix, secondMatrix:Matrix):Boolean

Since : CS5

Compares two matrices for equality.

Parameters

matrix:Matrix — (com.adobe.illustrator.Matrix) First transformation matrix to compare.
 
secondMatrix:Matrix — (com.adobe.illustrator.Matrix) Second transformation matrix.

Returns
Boolean
isSingularMatrix()method 
public function isSingularMatrix(matrix:Matrix):Boolean

Since : CS5

Tests if a matrix is singular (cannot be inverted)

Parameters

matrix:Matrix — (com.adobe.illustrator.Matrix) The matrix to check.

Returns
Boolean
loadColorSettings()method 
public function loadColorSettings(fileSpec:File):void

Since : CS5

Load the color settings from the file. If the file is an empty file spec, the color management will be turned off.

Parameters

fileSpec:File — (flash.filesystem.File) File spec for the color settings.

open()method 
public function open(file:File, documentColorSpace:DocumentColorSpace = null, options:Object = null):Document

Since : CS5

Open the specified document file.

Parameters

file:File — (flash.filesystem.File) The file to be opened.
 
documentColorSpace:DocumentColorSpace (default = null) — (com.adobe.illustrator.DocumentColorSpace) Choose color space only for documents saved with multiple color models (pre-Illustrator 9)
 
options:Object (default = null) — (Object) Options for opening a particular type of file.

Returns
Document
paste()method 
public function paste():void

Since : CS5

Paste clipboard into the current document.

quit()method 
public function quit():void

Since : CS5

Quit the application.

redo()method 
public function redo():void

Since : CS5

Redo the last transaction.

redraw()method 
public function redraw():void

Since : CS5

Force Illustrator to redraw its window(s)

runAPITest()method 
public function runAPITest(testName:String):void

Since : CS5

Runs API Tests from the TestAPI Plug-in

Parameters

testName:String — (String) Arguments for Running Tests - eg. Name of Test/Suite

showPresets()method 
public function showPresets(fileSpec:File):Object

Since : CS5

Get presets from the file.

Parameters

fileSpec:File — (flash.filesystem.File) File spec to import from.

Returns
Object
translatePlaceholderText()method 
public function translatePlaceholderText(text:String):String

Since : CS5

Translate the placeholder text to regular text. A method to enter unicode points in hex values.

Parameters

text:String — (String) The placeholder text to be translated.

Returns
String
translateString()method 
public function translateString(key:String, source:String):String

Since : CS5

Returns a string translated from the key and source data passed in.

Parameters

key:String — (String) The string to translate.
 
source:String — (String) The plugin name from the source of the key.

Returns
String
undo()method 
public function undo():void

Since : CS5

Undo the last transaction.