DumbDialog 1.0: a simple "progress bar" dialog box for applescripters
Sunday, February 19, 2006 • posted by Michael Rothwell @ 3:46 PM
DumbDialog 1.0 (20kb) is a small, faceless Cocoa application that does nothing but display a panel containing a progress bar and a text field. It does not have a menu bar or dock icon. It is intended for use by AppleScript programs that need to display an Aqua-looking progress bar. It was developed and tested on Tiger (10.4). It may work on older versions of OSX, but I don't know. Email me if you have any success on 10.3.
DumbDialog has three properties of interest:
- paneltitle (text)
- displaytext (text)
- panelvisible (boolean)
tell application "DumbDialog"You can put the panel through as many "panelvisible=true","panelvisible="false" cycles as needed before finally quitting it altogether.
set paneltitle to "This is the progress panel title"
set displaytext to "Hello, world!"
set panelvisible to true
--set panelvisible to false