Moving the cursor to an highlighted text or a link???

Hints, tips and tricks for newbies

Moderators: JRL, Dorian (MJT support)

Moving the cursor to an highlighted text or a link???

Postby PhilinSF » Sun Oct 10, 2004 7:56 pm


I developed a script that can highlight a link on a Web page, but I don't know how to trigger a click on the link?

The problem is tha the cursor is not on the highlighted text, so the link is not considered "selected", so the function Lclick does not work, nor the Press Enter command.

What I tried to do is to develop a script that will search for a specific link in a Web page (according to a search text), and move the cursor to the Html link containing these words, and then just click on it! My goal is to launch multiple "scripted search" that will automatically find the link and open the window (I hate clicking!!!)

Thanks for your help :wink:


Postby support » Sun Oct 10, 2004 9:05 pm

I'd recommend using HTTPRequest to get the page, scan the source for the link and then HTTPRequest that link. I.e. avoid automating a web browser at the user level and instead request the pages programmatically.
MJT Net Support
User avatar
Automation Wizard
Posts: 1452
Joined: Sat Oct 19, 2002 4:38 pm
Location: London

Return to Beginners

Who is online

Users browsing this forum: No registered users and 0 guests