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.
For more information about scripting in Illustrator, see the latest documentation at www.adobe.com/devnet/illustrator/scripting.html. Sample scripts are installed in the Adobe Illustrator CS5/Scripting folder.
If you edit a script while Illustrator is running, you must save your changes for them to take effect.
Copy the script to your computer’s hard disk.
If you place the script in the Adobe Illustrator CS5 Scripts folder, the script will appear in the File > Scripts submenu.
If you place the script in another location on the hard disk, you can run the script in Illustrator by choosing File > Scripts > Other Script.
If you place a script in the Adobe Illustrator CS5 Scripts folder while Illustrator is running, you must restart Illustrator for the script to appear in the Scripts submenu.