Multifile Import in a script / workflow
What is the best way to use Multi File Import in a script?
[I want to give the user the chance to edit the settings and then click on Import.]
My current approach:
Pause the script till the import is ready:
- use a while loop
- stop it via Set Import Callback
finished= 0;
mfi = Multiple File Import(
<<Set Import Callback( finished=1)
);
my win = mfi << createwindow;
while(not(finished), wait(1))...