I can't seem to find 'timetools' in either source or binary online. Can you point the way?
The LapTime.osax has only the normal Applescript overhead, and is respectably fine-grained.
Here are my handlers.
** 'format xxx into' is a handy function of the Satimage.osax for formatting numeric display.
------------------------------------------------------------------------------------------------
# START_TIMER() == Uses the LapTime.osax to produces a timer set.
------------------------------------------------------------------------------------------------
on START_TIMER()
return start timer
end START_TIMER
------------------------------------------------------------------------------------------------
# STOP_TIMER() == Companion to START_TIMER() == Uses the Satimage.osax 'format' command.
------------------------------------------------------------------------------------------------
on STOP_TIMER(tmrNumber)
return format ((stop timer tmrNumber) / 1000) into "##.####"
end STOP_TIMER
------------------------------------------------------------------------------------------------
# USAGE:
set tmr1 to START_TIMER() of me
# Your script
set tmr1Stop to STOP_TIMER(tmr1) of me
It returns milliseconds, and you can get
laptimes, so you can produce a list of time-points and a total.
LapTime is a really spiffy tool by
Tetsuro Kurita. He has several, but this is the only one I use regularly.
--
Chris