MacNN Forums (http://forums.macnn.com/)
-   Classic Macs and Mac OS (http://forums.macnn.com/classic-macs-and-mac-os/)
-   -   Applescript display dialog (http://forums.macnn.com/64/classic-macs-and-mac-os/123083/applescript-display-dialog/)

 
k3vmo Sep 11, 2002 08:08 PM
Applescript display dialog
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 Sep 15, 2002 03:45 PM
Re: Applescript display dialog
Quote
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.
 
All times are GMT -4. The time now is 07:07 AM.

Copyright © 2005-2007 MacNN. All rights reserved.
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2016, vBulletin Solutions, Inc.


Content Relevant URLs by vBSEO 3.3.2