Le 22 mars 07 à 04:30 Matin, Dr Gerard Hammond a écrit: > (Sorry if this is hits the list twice) > > Hi, > > Does anybody have a tested and working solution for detecting the > CapsLock status on MacOS X? > > Searching the archives I found this suggestion: > > #if TargetMacOS then > return Keyboard.AsyncKeyDown(&h39) > #endif > > but this didn't work for me (on my MacBookPro) > > Any other suggestion?
You mean, check if the CapsLock key currently has the LED on or off (in other words)? I use Keyboard.AsyncKeyDown(57) which is the same as your code above. It works well for me. I don't understand the problem. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
