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