• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Repeat Until Dialog is Acknowledged?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeat Until Dialog is Acknowledged?


  • Subject: Re: Repeat Until Dialog is Acknowledged?
  • From: Deivy Petrescu <email@hidden>
  • Date: Sun, 21 Feb 2010 14:56:33 -0500

On Feb 21, 2010, at 1:45 PM, Marconi wrote:

>
> Is it possible in AS to put up a dialog and repeat an action until the dialog is acknowledged?
>
> I need to play an alert sound and keep playing it until someone stops it by acknowledging it via the dialog.
>
>



I  don't think you can do that.
display dialog halts the execution of the script  until it receives an action.
You can leave the dialog in the window for a long while and you can bring it to the front as it shows up.

However,  it will not  be running until the dialog gets pressed



Deivy Petrescu
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Repeat Until Dialog is Acknowledged? (From: Marconi <email@hidden>)

  • Prev by Date: Re: Repeat Until Dialog is Acknowledged?
  • Next by Date: Re: re: Issues subtracting Unix epoch from date
  • Previous by thread: Re: Repeat Until Dialog is Acknowledged?
  • Next by thread: terminal problems
  • Index(es):
    • Date
    • Thread