InDesign script executing after dialog.show()
Hi,
Is there a way to continue the execution of the script after showing the dialog window, without user interaction?
I'm working on a script that uses the .findGrep() function. With long documents it could take some time. I would like the user to know that the script is working and is not hang. But as the findGrep() is a single line, I cannot use the progress bar. I thought I show the dialog, with some statictext like "processing..." then change the text when the find command is done. But after the show() command, the dialog is waiting for interaction. I tried onShow, but it is called before the window is made visible, so it's not working for me.
