I have in the past was unable to trap a key event for arrow keys. I think Jacque is right I do not think the system deals with arrow keys the way other keys work. They do not send any kind of ascii code, so LC would have to monitor them differently. Does the insert, home page up and page down buttons return anything? If not then I think that validates the idea that LC is only looking for ASCII style events.
Bob S > On Oct 20, 2023, at 8:08 AM, David Bovill via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Is there a way to trap for these keyboard events. > > Volume and Media Keys: In the HID standard, volume and media control keys > often have specific usage IDs. For example: > > > - 0xE9 is for volume up. > - 0xEA is for volume down. > - 0xE2 is for mute. > - 0xCD is for play/pauseetc > _______________________________________________ > 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 _______________________________________________ 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