When i am running the following code i am getting the exception as
com.adobe.ids.IdsException: IDL:com/adobe/ids/IdsException:1.0
VariableType[] vtArgs = new VariableType[1];
vtArgs[0] = VariableTypeUtils.createString("5");
OptVariableTypeSeq argSeq = OptArg.makeVariableTypeSeq(vtArgs);
if (myApp != null) {
try {
myApp.doScript(
VariableTypeUtils.createFile("C:/Program Files/Adobe/Adobe InDesign CS5.5/Scripts/Scripts Panel/Samples/JavaScript/CreateImage.jsx"),
OptArg.makeScriptLanguageEnum(kScriptLanguageJavascript.value),
argSeq,
OptArg.noUndoModesEnum(),
OptArg.noString());
}
catch (IdsException exc) {
System.err.println("Exception #" + exc.errorCode + ": "
+ exc.errorMsg);
exc.printStackTrace();
}
Please solve my problem
Thanks,
Siva
Susan, this doesn't work. I have the same problem. described here http://forums.adobe.com/thread/953607?tstart=0.
Problem seems to be trivial, but nobody can give us right answer...
Please help.
K.
North America
Europe, Middle East and Africa
Asia Pacific