[Pythonmac-SIG] PythonLauncher - detect option key

Jack Jansen Jack.Jansen@oratrix.com
Thu, 1 Aug 2002 23:19:15 +0200


On donderdag, augustus 1, 2002, at 10:22 , Bob Ippolito wrote:

> try this:
>
> if (GetCurrentKeyModifiers() & optionKey) {
>   // do your thing
> }

That's exactly what I did, as I was already dragging Carbon in 
anyway. Great minds think alike:-)
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- 
Emma Goldman -