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. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode