Re: 2 timers at once
Re: 2 timers at once
- Subject: Re: 2 timers at once
- From: Bob Studer <email@hidden>
- Date: Fri, 10 Jul 2009 07:48:31 -0700
On Jul 10, 2009, at 6:24 AM, Shawn Brady wrote:
I am using applescript as a timer in an Xcode created interface. I
have a master clock timer that counts down from 28:30. Then I have
4 individual timers that I want to trigger at will with hot keys. It
seems like Applescript will only do 1 thing at a time and will not
trigger a second timer until the 1st one is done. Is there a way to
do this.
You need to create an "on idle" handler and have enough state
information to know when each timer is active. You can then update the
active timers in the "on idle" handler and have it perform the desired
actions when the timer runs out.
--Bob
Written while listening to:
Rhapsody in Blue
Gershwin
Rhapsody in Blue
_______________________________________________
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