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
Fresh-Faced Recruit
Join Date: Aug 2002
Status: Offline
Reply With Quote
Sep 11, 2002, 09: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
     
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status: Offline
Reply With Quote
Sep 15, 2002, 04: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.
     
   
Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -4. The time now is 06:48 PM.
All contents of these forums © 1995-2014 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2014, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2