pradeep,krishna has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks.
I am trying to send the string "PRADEEP" with {ENTER} key at the end to a text box in a login form. I have to press ENTER to make the login credentials to be validated.
So i used WMSetText(1,"PRADEEP{X}") where {X} is one of these{\n,\x0D,\r,\cr,\015,\012}... But none of it worked. I know that I can use SendKeys() function by taking the cursor focus into the text box. But if i use it i need to bring that form to foreground, and I want my process to be completed without coming to foreground.
Please Assist me in solving this.
Thanks in advance.
Pradeep Krishna :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sending The key {ENTER} using WMSetText function in win32 module.
by marto (Cardinal) on Feb 13, 2014 at 10:25 UTC | |
by Anonymous Monk on Feb 13, 2014 at 11:53 UTC | |
by marto (Cardinal) on Feb 13, 2014 at 12:02 UTC | |
by Anonymous Monk on Feb 13, 2014 at 12:23 UTC | |
by marto (Cardinal) on Feb 13, 2014 at 12:43 UTC |