-
I got the answer.
SendKeys(QuoteStringForSendKeys($lokesh));
worked for me.
Thanks.
2009-05-06 06:32:42 UTC by lokesh_gla
-
I am not able to use SendKeys with variables.
Like:
my $lokesh = "How are you"
SendKeys('$lokesh');
It doesn't work.
Can anyone please help me??
Thanks and Regards,
Lokesh Agrawal.
2009-05-06 06:21:11 UTC by lokesh_gla
-
ctrondlp committed patchset 139 of module x11guitest to the X11::GUITest CVS repository, changing 2 files.
2009-04-27 19:49:33 UTC by ctrondlp
-
ctrondlp committed patchset 138 of module x11guitest to the X11::GUITest CVS repository, changing 1 files.
2009-04-27 19:28:04 UTC by ctrondlp
-
Currently lack of time has prevented some of the enhancements from getting coded. There have been some bug fixes, etc. However, not enough changes though to justify testing a new build across various platforms.
2009-02-08 23:06:12 UTC by ctrondlp
-
Sorry for the flood but I've got news once again. :p
1) The keys that one needs to press multiple times are called "dead keys".
2) SendKeys failed at GetKeycodeFromKeysym where XKeysymToKeycode returned 0, since there is no single keycode for ^ in the Finnish/Swedish layout.
Earlier in the code, keysym was set to 94 form the pre-set table since XStringToKeysym returned...
2008-10-16 18:01:09 UTC by sene
-
Hi again,
After the post I got a hunch on where to look (and also RTFM'd and saw that 0 is actually an error value with SendKeys..) for the fault and it turned out to be right.
I'm using a Finnish/Swedish keyboard layout, and ^ requires me to press shift and a certain key twice. ยด requires pressing the same key twice, ` wants shift + same key two times, and so on. SendKeys stumbles on...
2008-10-16 16:16:45 UTC by sene
-
Hi,
I just can't seem to output a caret with SendKeys, even after escaping it manually or with QuoteStringForSendKeys. At the point the caret is supposed to be outputted, the function just exits with status 0 as if it had reached the end of the string.
I'm really clueless here. Any ideas?
A small example of what's happening:
~ % cat test.pl
#!/usr/bin/env perl
use strict;
use...
2008-10-16 15:44:10 UTC by sene
-
Minor bug fixes and enhancements will be coming.
2008-10-03 15:24:25 UTC by ohsilence
-
If it is how can someone else take over?.
2008-09-17 14:24:14 UTC by ohsilence