Move mouse to Internet Explorer tab field

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
bnc1
Pro Scripter
Posts: 127
Joined: Sun Jul 31, 2005 5:10 pm

Move mouse to Internet Explorer tab field

Post by bnc1 » Thu Sep 03, 2009 12:24 pm

I am trying to automate an IE8 web page using Macro Scheduler 11. What I need is a way to automatically move the mouse to the current field hilighted by the Tab key ?? If I can get the mouse to that location, then I can use the GetTextatPoint command to extract the data that I need. I can't seem to find a way to use the Tab key to get to a certain field on the web page and then use MS to move the mouse cursor to that field so that I can use GetTextatPoint. :?:

Any ideas would be appreciated :)

adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Post by adroege » Wed Jun 02, 2010 7:39 pm

You might want to try the "WebRecorder Addon". This example could help you also.... It shows how the text of the webpage can be parsed when read using the HTTPRequest> command.

[code]
Input>zip_code,Enter a zipcode to find out the current weather
Let>URL=http://www.briansutton.com/wx/weather.h ... s&#current
HTTPRequest>URL,,GET,,HTMLResponse

Let>String1=
Let>String2=

Length>String1,String1_length

Position>String1,HTMLResponse,1,StartAt
Add>StartAt,String1_length
Position>String2,HTMLResponse,StartAt,EndAt,FALSE

Let>myLen=EndAt-StartAt

MidSTr>HTMLResponse,StartAt,myLen,myWeather
MessageModal>The current weather for zipcode %zip_code% is %CRLF%%CRLF%%myWeather%
[/code]

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts