| View previous topic :: View next topic |
| Author |
Message |
James Hirst
Joined: 06 Dec 2006 Posts: 21 Location: UK
|
Posted: Fri Jan 12, 2007 2:38 pm Post subject: ControlSendKeys - ConsoleWindowClass |
|
Hi guys,
Using the ControlSendKeys function, I'm having problems sending some keystrokes to a command prompt window. How do the following keys get sent to this window?
:
\
.
SHIFT
For example, I'm trying to send the following "c:\" to the ConsoleWindowClass.
Thanks,
James |
|
| Back to top |
|
 |
admin Site Admin
Joined: 05 Jul 2006 Posts: 351
|
Posted: Sun Jan 14, 2007 9:07 pm Post subject: |
|
Please use the Ranorex.ControlSendKeys() function with hWnd=0 for a command line application:
Code: click into code to enlarge
Ranorex.ControlSendKeys(0, 'c:\\temp')
Gabor Herget
Ranorex Team |
|
| Back to top |
|
 |
|