Jump to content
Sign in to follow this  
Guest samsonroberts

Script required to click a text link in browser

Recommended Posts

Guest samsonroberts

I am new to AutoIt. Does any one have a script which is used to click a particular text link in a browser window. Also please let me know how to send text to input controls? Thanks.

Share this post


Link to post
Share on other sites
sugi

Your best bet if you insist on using AutoIt is to use the search function from the browser and then use TAB until you're at the right link.

No, there is no way to just tell AutoIt to click on a specific link.

No, you didn't use the search function of the forum because maybe you would have found something useful:

http://www.autoitscript.com/forum/index.ph...owtopic=500&hl=

No, you didn't searched the helpfile since a search for "send text" would have showed you what you're searching for.

Edited by sugi

Share this post


Link to post
Share on other sites
Doxie

You can maybe use something like this:

While 1
w ( )
WEnd

Func w()
Winwaitactive("Name of Window")
AutoItSetOption("WinTitleMatchMode", 2)
$x = StatusbarGetText("Internet Explorer")

Send("{TAB}")
    If $x = ("http://www.autoitscript.com/forum/index.php?showuser=279") then
    Send("{ENTER}")
    Exit
    EndIf
EndFunc
Edited by Doxie

Were ever i lay my script is my home...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.