Welcome, Guest. Please Login
Rorohiko Workflow Resources
  Welcome the Message Board of Rorohiko Workflow Resources. To register, please e-mail [email protected] - automatic registration has been turned off because of relentless spambots and spammers. This Message Board is not actively monitored. If you have an urgent question, please e-mail [email protected]. If you post it here, it will probably be many weeks before we notice.
  HomeHelpSearchLogin  
 
Page Index Toggle Pages: 1
Send Topic Print
APID hit by InDesign CS4 bug - with workaround (Read 5657 times)
Kris Coppieters
YaBB Administrator
*****
Offline



Posts: 181
New Zealand
Gender: male
APID hit by InDesign CS4 bug - with workaround
12/05/08 at 14:56:19
 
There is an InDesign CS4 bug that affects APID.

Anytime you try to use a script with APID, and the script has any string with a double colon embedded somewhere in the string, InDesign will crash. It's a confirmed bug in ID CS4 ExtendScript - e.g. even a simple do-nothing script like

"::";

will crash things. It does not happen if you run the script normally - it's a bug somewhere below in the 'RunScript' C++ entry point that's also used by APID.

The workaround is simple - if you have _any_ strings that have two consecutive colons in them, you need to split them up - for example:

alert("this is::a test");

must become

alert("this is:" + ":a test");

and then the problem goes away...
Back to top
 

Kris
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print