| View previous topic :: View next topic |
| Author |
Message |
cstone Guest
|
Posted: Fri Apr 15, 2005 11:23 pm Post subject: control focus in IE |
|
|
| I need to be beable to hit a key have to to a text box in IE. I have tried using the ControlFocus, but Winspy says all the control names are the same (Internet Explorer_Server1). I left it blank to go to the top most control, but that didn't help. Is there any way of doing is? |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5390 Location: /b/
|
Posted: Fri Apr 15, 2005 11:35 pm Post subject: |
|
|
IE is a control itself so edit fields won't really be seen (programatically?). Depending on what you're doing, Rajat's PostMsg [Tut] would be helpful. _________________
 |
|
| Back to top |
|
 |
cstone Guest
|
Posted: Sat Apr 16, 2005 12:04 am Post subject: control focus in IE |
|
|
| What i would like to do is to be able to hit the home key, and then have the focus to to a desinated text box. if i use MouseClick and set the coords to the text box, since the texbox never moves, it will work that way, but i would rather just set the focus to the text box rather the haveing the mouse move. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Sat Apr 16, 2005 1:17 am Post subject: |
|
|
You could try using ControlClick in its coordinate mode, but I am pessimistic that it would work with MSIE:
ControlClick, X55 Y33, WinTitle ; Note no comma between X & Y coordinates. |
|
| Back to top |
|
 |
Jon
Joined: 28 Apr 2004 Posts: 373
|
|
| Back to top |
|
 |
cstone
Joined: 16 Apr 2005 Posts: 28
|
Posted: Mon Apr 18, 2005 8:46 pm Post subject: |
|
|
The way you show ControlClick is much like MouseClick, except you need to know the control name. and for the java script, the application does not alow interaction with the address bar so i am unable to use that.
If I could as the programer the name of the control, would that work, or since IE is a control itself would that not work? _________________ cstone |
|
| Back to top |
|
 |
|