Jump to content

Script required to click a text link in browser


Guest samsonroberts
 Share

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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...

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...