[JS, InDesign CS2] passing parameters from one script to another
In CS3, you can pass parameters from one script to another:
app.doScript (myScriptFile, ScriptLanguage.javascript, myParameters);
where myParameters is an array of parameters, and then an array called "arguments" gets created within the script you have called, to hold the local copies of the variables.
As far as I can tell this feature was added in InDesign CS3, and does not exist in InDesign CS2. The reference manual for CS2 says that app.doScript takes a maximum of 2 arguments: the name of the script, and the name of the language. No parameter-array argument.
My question: Am I wrong about this? And if I'm right about this, does anyone know of any way to pass parameters from one script to another in InDesign CS2?
Thanks.
- Richard
