• 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: Timers in AppleScript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Timers in AppleScript? (From: Albert Atkinson <email@hidden>)

  • Prev by Date: Re: Postscript from Quark
  • Next by Date: RE: scripting on macs in general
  • Previous by thread: Re: Timers in AppleScript?
  • Next by thread: Re: Timers in AppleScript?
  • Index(es):
    • Date
    • Thread