Where is 'tick' ?

I remember on OS 9 thaht it was possible to know for how long the computer has been running using ‘tisk’, but I cannot find it anywhere, can someone help me?

Jean-baptiste LE STANG

do shell script "uptime" 

will tell you how long the computer has been running in OS X. I’m not sure what happned to ‘ticks’.

Cool tip, Greg!

“the ticks” was a command from Jon’s Commands, and it’s still available at OS X version: http://www.seanet.com/~jonpugh/

Also, as third-party alternatives to Jon’s & “uptime”, you could use “GetMilliSec” http://www.osaxen.com/getmillisec.html or Extra Suites, which provides both “ticks” and “milliseconds”, as well as “start timer” and “stop timer” commands http://www.kanzu.com/

I’m trying to run actions after a set amount of time has gone by. I tried delay but I can only the delay the script in seconds, not ticks.

Jon’s commands looks promising, I was just wondering if there is anything else to use to “pause” a script for 1.5 seconds for example.

Also, I’m wondering what sort of average overhead (because I know it can vary) is created when the resource file is opened… is it .1 second, .5 second?

Thank you.