Re: Milliseconds elapsed?
Re: Milliseconds elapsed?
- Subject: Re: Milliseconds elapsed?
- From: Christopher Stone <email@hidden>
- Date: Mon, 05 Sep 2016 20:02:56 -0500
On Sep 05, 2016, at 19:08, Brian Christmas <email@hidden> wrote:
I need to determine an elapsed time in milliseconds, within Applescript.
------------------------------------------------------------
set lap1 to lapStart() of me
repeat 1000 times set x to "x" end repeat
set lap1Stop to lapStop(lap1) of me
------------------------------------------------------------ --ยป HANDLERS ------------------------------------------------------------ on lapStart() return start timer end lapStart ------------------------------------------------------------ on lapStop(tmrNumber) return format ((stop timer tmrNumber) / 1000) into "##.####" end lapStop ------------------------------------------------------------
-- Best Regards, Chris
|
_______________________________________________
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