Using scripts


    When you execute a script, your computer performs a sequence of operations. These operations may involve only Illustrator, or they may involve other applications, such as word processing, spreadsheet, and database-management programs. Illustrator supports multiple scripting environments, such as Microsoft Visual Basic, AppleScript, and JavaScript, and includes a standard set of scripts. You can also use your own scripts and add them to the Scripts submenu.

To execute a script:

    Do one of the following:

    • Choose File > Scripts, and choose a script from the submenu.
    • Choose File > Scripts > Browse, and navigate to the script you want to execute.

To install a script:

    Copy the script to your computer's hard disk.

    If you place the script in the Presets/Scripts folder inside the Adobe Illustrator application folder, the script will appear in the File > Scripts submenu. If you place the script in another location on your hard disk, you can execute the script in Illustrator using the File > Scripts > Browse command.

    Note: If you edit a script while the Illustrator application is open, you must save your changes for the changes to take effect. If you place a script in the Scripts folder while the Illustrator application is running, you must relaunch Illustrator for the script to appear in the Scripts menu.