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

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
PhilinSF

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

Post by PhilinSF » Sun Oct 10, 2004 7:56 pm

Hi,

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:

Phil

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by 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
[email protected]

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