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 sample scripts and scripting documentation in the Adobe Illustrator CS3/Scripting folder/
If you place the script in the Adobe Illustrator CS3/Presets/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 > Browse.