[Gambas-user] Finally Gambas got "SendKeys"
Benoit Minisini
gambas at ...1...
Tue Dec 4 21:25:13 CET 2007
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
enter the 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, and tell
me the result...
Regards,
--
Benoit Minisini
More information about the User
mailing list