Adobe 65010248 Scripting Guide - Page 16
Known issues
UPC - 883919156484
View all Adobe 65010248 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 16 highlights
CHAPTER 1: Introduction Known issues 16 Known issues ➤ Scripts that create, save, and close many Illustrator files should periodically quit and relaunch Illustrator. The recommended maximum number of files to process before quitting and relaunching Illustrator is: ➣ Windows 500 files ➣ Mac OS 1000 files For more information on quitting and relaunching Illustrator, see "Launching and activating Illustrator" on page 25 and "Quitting Illustrator" on page 26. ➤ The "An Illustrator error occurred: 1346458189 ("PARM")" alert may be popped when badly written scripts are repeatedly run in Illustrator from the ESTK. Scripters need to be very careful about variable initialization and namespace conflict when pushing a batch of Illustrator scripts repeatedly for execution in Illustrator via the ESTK in one Illustrator session. Each script run is executed within the same persistent ExtendScript engine within Illustrator. The ESTK debugger uses BridgeTalk to communicate with Illustrator. A single global, persistent, ExtendScript engine inside Illustrator handles all BridgeTalk communications. The net effect is that the state of the ExtendScript engine is cumulative to all scripts that ran previously. Issues with script code that may cause this problem are: ➣ Reading uninitialized variables. ➣ Global namespace conflicts, such as when two globals from different scripts are clobbering each other.