Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Classic Macs and Mac OS > Applescript display dialog

Applescript display dialog
Thread Tools
k3vmo
Fresh-Faced Recruit
Join Date: Aug 2002
Status: Offline
Reply With Quote
Sep 11, 2002, 08:08 PM
 
Is it possible to display a dialog box while having applescript perform some action, the automatically close the dialog box when finished?

Could someone give me an example
     
Rainy Day
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status: Offline
Reply With Quote
Sep 15, 2002, 03:45 PM
 
Is it possible to display a dialog box while having applescript perform some action, the automatically close the dialog box when finished?
Unless this has been changed in the last rev of AppleScript, the answer is no. There might be workarounds, but none of them would be pretty.

What you might be able to do is tell AppleScript to display a dialog but not wait for dismissal by using ignore (i.e. to run asynchronously). But ignore may only work with responses from other applications (not sure), so the dialog may have to be generated by a separate application (could be an AppleScript droplet). You can see how even this is starting to get ugly.

Check out the AppleScript links on Things Macintosh, Developer page for a more definitive answer to your question.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 07:04 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,