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

InDesign Script to wait for file to open before continue

$
0
0

Hello as above i have a simple script to select a file to open froma folder and tthen open it.

However the code continues as the file is still opening

is there a way to get the script to wait for the selected file to finish opening before continuing?

var file1 = File.openDialog();

file1.execute();

//rest of the code with the file open

 

thanks


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>