Copy link to clipboard
Copied
I have a script for Indesign that opens Ps file runs ps script on it and then updates it in InDesign, and leaves Ps as an active program on the front, and I need for InDesign doc. to come forward as an active app. I've tried few lines and none of them work:
var myDoc = app.activeDocument;
myDoc.activate();
or
myDoc.open();
or
myDoc.windows = Window.BRINGTOFRONT ();
or
myDoc.windows = Window.bringToFront ();
or
myDoc.select (myNewFile); // select file in InDesign
Your help is highly appreciated.
Yulia
Copy link to clipboard
Copied
Hi Yulia,
Not sure but try this:
app.activate();
Shonky
Copy link to clipboard
Copied
That's it, it works now. Thank you so much, Shonky.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now