Re: Timers in AppleScript?
Re: Timers in AppleScript?
- Subject: Re: Timers in AppleScript?
- From: Steven Angier <email@hidden>
- Date: Tue, 16 Jul 2002 09:13:40 +1000
On 16/7/02 3:32 AM, "Albert Atkinson" <email@hidden> wrote:
>
Oh, sorry...I was in a hurry and forgot to mention what kind of
>
timer...I will be needing a timer that waits XX amount of seconds
>
and then fires an action...this will be in an AppleScript project
>
in PB. I tried the "return 1" method to repeat every 1 second, it
>
works in something compiled with Script Editor but not when in a PB
>
project...
We have just written (and are currently testing) a set of object-oriented
timer "classes" which are fired by the idle handler in our application
framework. These classes can be instantiated ad infinitum and come in 3
flavours: fixed date, fixed time, and fixed interval. Each can have multiple
firing times/dates, and are told to "fire" the handler of your choosing (in
the main script).
It was written as a tool for our use, but if there is enough interest, we
might polish it up and package it as a commercial offering.
Steven Angier
Macscript.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.