Batch options, Automation with scripts, Run a script – Adobe Illustrator CC 2015 User Manual
Page 516
511
Automating tasks
Last updated 6/5/2015
Batch options
If you select Folder for Source, you can set the following options:
Override Action “Open” Commands
Opens the files from the specified folder and ignores any Open commands
recorded as part of the original action.
Include All Subdirectories
Processes all files and folders within the specified folder.
If the action contains any save or export commands, you can set the following options:
Override Action “Save” Commands
Saves the processed files in the specified destination folder and not to a location
recorded in the action. Click Choose to specify the destination folder.
Override Action “Export” Commands
Exports the processed files to the specified destination folder and not to a
location recorded in the action. Click Choose to specify the destination folder.
If you select Data Sets for Source, you can set an option for generating filenames when overriding Save and Export
commands:
File + Number
Generates the filename by taking the original document’s filename, removing any extension, and then
appending a three-digit number corresponding to the data set.
File + Data Set Name
Generates the filename by taking the original document’s filename, removing any extension, and
then appending an underscore and the name of the data set.
Data Set Name
Generates the filename by taking the name of the data set.
More Help topics
Automation with scripts
When you run 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 (including Microsoft Visual Basic, AppleScript, JavaScript, and
ExtendScript). You can use the standard scripts that come with Illustrator, and you can create your own scripts and add
them to the Scripts submenu.
For more information about scripting in Illustrator, see the latest documentation at
folder.
Run a script
❖
Choose File > Scripts, and choose a script. Alternatively, choose File > Scripts > Other Script, and navigate to a script.
Note: If you edit a script while Illustrator is running, you must save your changes for them to take effect.