Polling/probing the keyboard?

Geoff Canyon gcanyon at gmail.com
Mon Dec 23 15:04:09 EST 2013


On Fri, Dec 20, 2013 at 9:49 AM, Richmond <richmondmathewson at gmail.com>wrote:

> send "mouseUp" to btn "BTTN"
>
> but I cannot do this:
>
> send "keyDown" to key 112
>
> where 112 is the rawKeyDown value of that key on my keyboard.
>

In both cases (unless there's something really unusual about what you're
doing) it would be better to define a separate handler to do <whatever> and
then call that handler from within the mouseUp or rawKeyDown, so that when
you want that thing to happen *apart* from those instances, you can just
call the handler.



More information about the use-livecode mailing list