05-16-2008, 10:40 AM
(This post was last modified: 05-16-2008, 11:15 AM by yogendrasr.)
Hi Sandeep,
If you want to send keys using script, then I would suggest you to use the .Type ( key ) to send keyboard input:
Eg:
You can also use the use the SendKeys method that u are using.
For sending a Space as input, I think u need to use " " (Space between double quotes).
For eg in your case it is:
Hope this works.
Also for ur second query:
Also pls use the attached file for your reference.
Pls update me if you have found another way out or if I am wrong .
Thanks
If you want to send keys using script, then I would suggest you to use the .Type ( key ) to send keyboard input:
Eg:
Code:
Window("Notepad").WinEditor("Edit").Type micF5
You can also use the use the SendKeys method that u are using.
For sending a Space as input, I think u need to use " " (Space between double quotes).
For eg in your case it is:
Code:
Window("Notepad").WinEditor("Edit").Type micCtrlDwn + " " + micDwn
Hope this works.
Also for ur second query:
Code:
Window("Notepad").WinEditor("Edit").Type micCtrlDwn + micLeftBtn
Also pls use the attached file for your reference.
Pls update me if you have found another way out or if I am wrong .
Thanks