Fake typing?
Mike Bonner
bonnmike at gmail.com
Mon Jan 12 15:40:46 EST 2015
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.
On Mon, Jan 12, 2015 at 1:33 PM, Richmond <richmondmathewson at gmail.com>
wrote:
> I can do this sort of thing:
>
> send "mouseUp" to btn "BONKERS"
>
> it would be lovely if one could also do this sort of thing:
>
> send "keyUp" to rawKey ID 113
>
> [ oddly enough the scriptEditor doesn't find any errors in that: it is
> only on attempted operation
> that the IDE throws a "bluey" ]
>
> this could be used for detecting what sort of keyboard layout an end-user
> was using.
>
> ------------------------------------------
>
> How does one get Livecode to send signals to USB peripherals?
>
> Richmond.
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list