F keys cross-platform?

Jim Bufalini jim at visitrieve.com
Sat Sep 19 13:15:33 EDT 2009


Richmond Mathewson:

> As rawKeyDown doesn't pick up
> keydowns such as SHIFT on Macintosh
> I am thinking of using F keys (specifically F1 and F2)
> to state-change in the Beta 2 version of my
> Sanskrit typewriter and wonder if using these
> 2 keys will "make things go all wobbly" on
> Windows?


F1 is universally used by all programs on PC as the Help key, so I wouldn't
use it for any other purpose than to launch your help, as a typical Windows
user would expect this. Other raw function keys have different meanings
depending on keyboard or program. However, to the best of my knowledge,
keystrokes are only sent to the top window. So if your application is the
top window, you can interpret the key any way you want. If your app is not
on top, it won't receive the keystroke.

Aloha from Hawaii,

Jim Bufalini




More information about the use-livecode mailing list