Are you developing tools to extend the LiveCode environment? This is the place to talk about the nuts and bolts of extending our nuts and bolts. If you want to use a LiveCode or third party Environment extension, visit the Using Evironment Extensions forum.

Hi all,
I need to make a way to handle messages from Opt, Cmd, Shift and CapsLock key presses without having to wait for other keys to be pressed (which is easy for example using either the optkeydown message or the RawKeyDown message). I had been hoping the Infinite LiveCode project which could have made it possible would have been finished by now but no such luck. Is there any other way that people have made it possible to add in this functionality?

Cross-platform note: On Mac OS systems, no message is sent when a modifier key (Shift, Option, Control, or Command) is pressed, unless another key is pressed along with the modifier key. Mouse wheels do not send a rawKeyDown message on Mac OS systems>.

The flagsChanged: method can be useful for detecting the pressing of modifier keys without any other key being pressed simultaneously. For example, if the user presses the Option key by itself, your responder object can detect this in its implementation of flagsChanged