Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Modeless Dialog?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modeless Dialog?




On Fri, 22 Oct 2004, Marconi wrote:

Is it possible to use a modeless dialog via AS? I want to present a dialog:

display dialog "Press Cancel to stop" buttons {"Cancel"} default button 1

then repeatedly perform an action while the dialog is present.

How do I get the script to move beyond the dialog and run a repeat of idle task or something, while waiting for the cancel button to be pressed?

You can certainly do this with ASStudio, and I think you can do it with DD, but I've always ended up in 'vanilla' AS with a


  display dialog "Cancel?" ... giving up after 2

strategy (giving them a window of opportunity). Of course.... it also slows the app down.

 - brian johnson


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Modeless Dialog? (From: Marconi <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.