Re: Time in milliseconds
Re: Time in milliseconds
- Subject: Re: Time in milliseconds
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 30 Jul 2004 14:40:47 -0700
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.
--
Paul Berkowitz
_______________________________________________
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.