[Gambas-user] Finally Gambas got "SendKeys"

Benoit Minisini gambas at ...1...
Tue Dec 4 21:30:11 CET 2007


On mardi 4 décembre 2007, Benoit Minisini wrote:
> Hi,
>
> The last revision includes an "intelligent" implementation of
> Desktop.SendKeys, that allows to send any key to the window having the
> focus.
>
> What is sent internally are keyboard codes, and so this method tries to map
> strings to this keycodes, by searching which modifier keys must apply to
-----------> these
> enter the key.
--> get the right key.
>
> For example, on a french keyboard, sending "@" needs actually a press on a
> modifier key (ALT-GR, which of course does not have this name on X11,
> otherwise things would have been too simple...).
>
> Well, this is why this function is "intelligent". I invite you to check
> this function or your own keyboard, especially if it not a french layout,
-----------------------------------------------------> is
> and tell me the result...
>
> Regards,

-- 
Benoit Minisini




More information about the User mailing list