loadConditionSets from external document
hallo forum,
i'll import saved conditionalsets external template actual document. i'm not able. until have following:
//given document "mydocument"... var mydocument = app.documents.item(0); //load conditionalset's external document mydocument.loadconditionsets(file("c:\ta_r02_pl_master.indt"))
maybe can me synthax? code doesn't work fine.
thank you
hi,
wrong syntax, try this:
mydocument.loadconditions(file("/c/ta_r02_pl_master.indt"), true);
it assumes file("/c/ta_r02_pl_master.indt").exists == true
jarek
More discussions in InDesign Scripting
adobe
Comments
Post a Comment