Unspecified unit returned by gestalt call
Unspecified unit returned by gestalt call
- Subject: Unspecified unit returned by gestalt call
- From: Sander Tekelenburg <email@hidden>
- Date: Tue, 27 Feb 2001 12:19:46 +0100
-----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?
TIA!
[*] Thanks to Bill Cheeseman's mentioning the possibility at
<
http://www.applescriptsourcebook.com/events/1998.html>. But no thanks to
Bill for keeping the syntax secret - you might want to add that Bill ;)
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <
http://www.pgp.com>
iQA/AwUBOpuNIesywKfXgqKdEQIiOgCfZ98nh9a5cWtRV1JCfqkB3+H6ffMAoPsX
6d5MqNbKm5IxSIXtUlNXm099
=+FKe
-----END PGP SIGNATURE-----
--
Sander Tekelenburg, <
mailto:email@hidden>
Web site at <
http://www.euronet.nl/~tekelenb/>
Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"