The Illustrator object represents the Illustrator application and can be accessed through the global illustrator variable.
Properties
An array of all installed fonts. Read-only.
- Returns:
- Array of FontFamily, read-only, also accessible by name, read-only, also accessible by name
Functions
Returns true if the system is Windows, false otherwise.
- Returns:
- Boolean
Returns true if the system is Macintosh, false otherwise.
- Returns:
- Boolean
Returns true if the Illustrator application is in front and ready to receive user input, false otherwise.
- Returns:
- Boolean
File Launching
Launches the given filename or URL through the operating system.
- Parameters:
- filename: String
- Returns:
- Boolean
Launches the given file through the operating system.
- Parameters:
- file: File
- Returns:
- Boolean
Progress Bar
Updates the progress bar dialog.
- Parameters:
- current: Number — the current progress bar position
- max: Number — the maximum progress bar position
- Returns:
- Boolean — false if the user aborted script execution, true otherwise.
Displays the progress bar dialog.
- Parameters:
- text: String — the optional text to display above the progress bar. — optional
Closes the progress bar dialog.