Milliseconds elapsed?
Milliseconds elapsed?
- Subject: Milliseconds elapsed?
- From: Brian Christmas <email@hidden>
- Date: Tue, 06 Sep 2016 10:08:03 +1000
G’day scripters
I need to determine an elapsed time in milliseconds, within Applescript.
I have found this, to determine a time within milliseconds, but the results can’t be subtracted as normal times.
try set a to a as date on error errmsg tell application "System Events" activate display dialog errmsg giving up after 10 end tell end try
try set c to b - a on error errmsg tell application "System Events" activate display dialog errmsg giving up after 10 end tell end try
on milleDT() try do shell script "defaults read b" on error errorText text 1 thru 23 of errorText end try end milleDT
Can anybody advise me on any method(s), please?
Regards
Santa
And what, you ask, was the beginning of it all? And it is this...... Existence that multiplied itself For sheer delight of being And plunged with numberless trillions of forms So that it might find itself innumerably
Sri Aurobindo
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden