| View previous topic :: View next topic |
| Author |
Message |
ahk_man
Joined: 20 Jun 2004 Posts: 39
|
Posted: Fri Sep 03, 2004 8:28 am Post subject: default |
|
|
Hi Chris,
How can I write a script to open up a webpage and have the mouse cursor active at a specific registration field I want? I do not what to use Getmousepos or movemouse. Can I use Control? If so how can I use control to select a specific field to input data in it. Basically, I want to open up a webpage and my script will be smart enough to be active in a field...not just any field on the registration form, but the field I had scripted in. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Fri Sep 03, 2004 5:24 pm Post subject: |
|
|
Depending on the browser, you might be able to automate this by using ControlFocus. Window Spy will give you some idea whether this is possible for a particular web site and browser.
If that doesn't work, the only other way I know of to do it is by navigating with the TAB or shift-TAB keystrokes (or MouseClick, but you said you didn't want that).
If you really want to get in depth, you could try studying and automating the form by following Rajat's Message Tutorial. |
|
| Back to top |
|
 |
|