[Gambas-user] Issue 24 in gambas: Desktop.SendKeys("[RETURN]") doesn't work

gambas at ...2524... gambas at ...2524...
Thu Feb 10 02:22:57 CET 2011


Updates:
	Status: Invalid
	Labels: -Version Version-TRUNK

Comment #1 on issue 24 by benoit.m... at ...626...:  
Desktop.SendKeys("[RETURN]") doesn't work
http://code.google.com/p/gambas/issues/detail?id=24

The X11 documentation says that you get the key name by removing the 'XK_'  
prefix. Apparently, that key name is case sensitive. Maybe it was not the  
case when the example was written.

So, now, you must write:

Desktop.SendKeys("[Return]")
Desktop.SendKeys("[space]")
Desktop.SendKeys("[Control_L]")
...

I will fix the documentation example anyway.






More information about the User mailing list