Re: Unspecified unit returned by gestalt call
Re: Unspecified unit returned by gestalt call
- Subject: Re: Unspecified unit returned by gestalt call
- From: Devon and Cornwall <email@hidden>
- Date: Tue, 27 Feb 2001 17:21:35 -0800
At 12:19 PM +0100 2/27/01, Sander Tekelenburg wrote:
>
-----BEGIN PGP SIGNED MESSAGE-----
>
Hash: SHA1
>
>
I figured out how to get make a gestalt call and get the system's idle
>
time[*], but it's not clear to me what unit it returns:
>
>
(* needs the "IdleTime" system extension *)
>
tell application "Finder"
>
computer "idle"
>
--> some integer
>
end tell
>
>
What does this return? Could they be ticks? If so, how many ticks make up a
>
second?
It returns the last time the mouse was moved or a key pressed in ticks.
60 ticks per second
Devon and Cornwall
--Never wear brown shoes with a blue suit.