altkey() down, up & halfway down

Richmond richmondmathewson at gmail.com
Sun Dec 2 12:53:44 EST 2012


On Macintosh, according to Apple's documentation the key code for
the left option key is 98 and 58 for the right option key.

There is a school of thought flying around that the key code for both is 35.

However . . . keysDown doesn't work for modifier keys on Mac . . .

interestingly enough this:

set the useUnicode to true
set the unicodeText of fld "KEEZE" to numToChar(58)

isn't much help.




More information about the use-livecode mailing list