I've been meaning to ask this question for a long time.
Why does a script that contains a dialog, stop processing while the dialog is being moved?
To demonstrate, run the following script and notice the dialog label increments every second. Click on the dialog title bar and drag the dialog around or even hold it in place for a while. When you release the mouse button the numbers begin to increment again but they did not increment while the dialog was being moved. This indicates that moving the dialog pauses the script.
If you bump up the wait value from 1 to 5 you will see that the individual functions don't stop. With Wait at 5, clicking the title bar a brief moment after the label has incremented then holding it for more than five seconds will produce an increment immediately upon release of the mouse button. If the wait function had halted, one would expect to have to wait for something close to 5 seconds for the label increment.
A few homemade utilities