• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unspecified unit returned by gestalt call
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Unspecified unit returned by gestalt call (From: Sander Tekelenburg <email@hidden>)

  • Prev by Date: RE: Help!
  • Next by Date: Re: Write to file - another question
  • Previous by thread: Unspecified unit returned by gestalt call
  • Next by thread: Re: Unspecified unit returned by gestalt call
  • Index(es):
    • Date
    • Thread