• 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: Time in milliseconds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Time in milliseconds
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Time in milliseconds (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: make, rename, and move an alias, add dock item
  • Next by Date: Re: Time in milliseconds
  • Previous by thread: Re: Time in milliseconds
  • Next by thread: Re: Time in milliseconds
  • Index(es):
    • Date
    • Thread