• 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
Interrupting a wait loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interrupting a wait loop


  • Subject: Interrupting a wait loop
  • From: John Fowler <email@hidden>
  • Date: Fri, 13 Jan 2006 23:52:01 -0600

In my Applescript app a wait loop gets a wait time from the GUI interface. I usually set this to 60 minutes. Every 60 minutes, code executes. When code finishes, the wait loop serially checks the time to see if 60 minutes have passed, executing the code again if so.

The problem is, I can't change the interface elements during the wait loop. So the only way I can quit my app or discontinue the wait loop is to "Force Quit." This gets tiresome after a while.

There is bound to be a better way to introduce a delay of 60 minutes between code executions, which would allow me to access my interface during the wait loop. Please help with suggestions in this regard.

John Fowler

_______________________________________________
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


  • Follow-Ups:
    • Re: Interrupting a wait loop
      • From: "J. Stewart" <email@hidden>
  • Prev by Date: Re: How do I replace the last three characters of a variable without
  • Next by Date: Re: "call soap" w/ authentication
  • Previous by thread: Re: How do I replace the last three characters of a variable without
  • Next by thread: Re: Interrupting a wait loop
  • Index(es):
    • Date
    • Thread