On 12/01/15 23:00, Richmond wrote:
On 12/01/15 22:40, Mike Bonner wrote:
Would the type command do what you want?

 From the dictionary:
Note: As the type command is designed to emulate exactly what happens when a user types a key on the keyboard, the rawKeyDown, keyDown, rawKeyUp and keyUp messages are sent by the command. If these messages are blocked, the
text will not appear in the selected field.

It's a thought.

This works very well indeed:

on mouseUp
  type "Q"
end mouseUp

on rawKeyDown RAWK
  put RAWK
end rawKeyDown

I get 81
------------------------------

Richmond.


However, if I select a different keyboard layout, say "AZERTY" (French)
and run the same script I still get 81, which means that the real rawKeyDown
is NOT being delivered (it should be 65).

_______________________________________________
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

Reply via email to