Opening/closing dialog

I’m not sure if this is possible with applescript, but can you display a text only dialog in the middle of a script and close it automaticly when the script is finnish… something like “Script is running wait…”…?


With a modal DLOG as with “display dialog” you have a problem. The script cannot continue until the DLOG is dismissed. If you feel up to it have a look at Dialog Director (or Dialog Studio, an easy introduction to DD - which is quite complex). ANYTHING is then possible with DLOGs!

Or Akua Sweets’ display info

The only classical method for a self-controlling dialog is:

display dialog "hello" buttons {"Cancel", "OK"} default button 2 giving up after 5

However, unlike Dialog Director, there is no script execution during dialog display.