I have been trying to use a layout to replace the Show Custom Dialog step. Now, in a script such as this:
Run main script
User enter some info
Run my layout to request some confirmation (similar to Show Custom Dialog)
Do something with the info the user enters
Of course the main script doesn't wait for me to process the user info, goes on and exits directly. I tried to run the layout in a loop but this doesn't work either.....
Does anyone now how to do this?