I have designed a script. It invokes a form with textboxes and some buttons.
1. If I click a button it has to add a template to the indesign. I have tried this. But when the form is open I am not able to do this.
2. How to run a batch file by pressing a button?
3. How to temporarily destroy a form?
I have pasted the code below for your reference.
var myDlg = new Window('dialog', 'XML InDesign Workflow',[100,100,800,600]);