Re: Using ticks in AS Studio??
Re: Using ticks in AS Studio??
- Subject: Re: Using ticks in AS Studio??
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 16 Feb 2003 07:53:52 -0800
On 2/16/03 7:38 AM, "Brian K. Maher" <email@hidden> wrote:
>
Can anyone tell what the trick is to be able to use the following
>
statement within Applescript Studio (this fails with an error saying
>
that the variable "ticks" is not found).
>
>
set ticks1 to the ticks
>
>
I am trying to test some code for performance and according to several
>
scripts & articles I have found via google this is the way you do it.
That's the way you did it in OS 8/9 if you had Jon's Commands scripting
addition installed. There's a pre-beta (developer) version of Jon's for OS X
on Jon Pugh's website, wherever that is.
But there's a fully working addition called
GetMilliSec
which does the same thing. You can get it at <
http://www.osaxen.com>. Put it
into ~/Library/ScriptingAdditions/ or /Library/ScriptingAdditions/, making
the directory first if you don't have it.
--
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.