Fake typing?
Richmond
richmondmathewson at gmail.com
Mon Jan 12 16:42:57 EST 2015
On 12/01/15 23:19, Richmond wrote:
> 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).
What is needed is NOT to TYPE "Q", but to be able to send a rawKey
command ???????????
Richmond.
More information about the use-livecode
mailing list