Re: Time in milliseconds
Re: Time in milliseconds
- Subject: Re: Time in milliseconds
- From: Emmanuel <email@hidden>
- Date: Sat, 31 Jul 2004 00:07:07 +0200
At 2:40 PM -0700 30/07/04, Paul Berkowitz wrote:
>
On 7/30/04 1:30 PM, "Paul Skinner" <email@hidden> wrote:
>
>
> GetMilliSec
>
> -->7.3012042E+7
>
>
>
> <http://osaxen.com/modules.php?
>
> op=modload&name=Downloads&file=index&req=getit&lid=112>
>
>
GetMilliSec is excellent, but it has the same Heisenberg-limitation that
>
simply calling an osax adds many milliseconds delay, so it won't in fact be
>
accurate.
>
>
AppleScript could probably access the inner workings of the computer without
>
this overhead if a 'with milliseconds' parameter were added to the 'time'
>
property of 'date'. Both Carbon and Cocoa can get precision to the 10,000th
>
of a second (10th of a millisecond). It would be a very handy extension of
>
the language. Using any osax, whether GetMilliSec or 'so shell script', is
>
fruitless if that extreme degree of accuracy is needed.
Or, you Smile and its "chrono" property. No osax overhead, and resolution better than 1 ms.
Emmanuel
_______________________________________________
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.