Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: InDesign Script to wait for file to open before continue

$
0
0

Hi Mark

I think if you use app.open("FileObject") instead of execute, it will automatically wait.

 

Try this

var file1 = File.openDialog();
var myDoc = app.open(file1);
alert("Now");

 

The alert "Now" should not come up before the document is open

[At least thats what happened when I tried it]

 

 

Davey


Viewing all articles
Browse latest Browse all 37788

Trending Articles