Sign in to follow this  
Followers 0
rvbfreak

Trouble clicking links

1 post in this topic

**To Moderators: If this is violating any rules please remove. During posting i didn't think it was, but im sorry if i broke any rules.**

Im making a "tool" that makes it easier to use Easyhits4u (which is a traffic exchange). Im not fully automating the site, but instead having the numbers 1, 2, and 3 hotkeyed. The site works by having a timer that counts down from 20 and has a captcha. I want to be able to press, for example, "2", and that would choose the second answer. The problem is, the code im using isnt working.

Im using

;sets hotkey
Hotkeyset("{1}","s1")
Hotkeyset("{2}","s2")
Hotkeyset("{3}","s3")

;used at the bottom of the script after Func commands
Func s1()
    _IELinkClickByIndex($iee,1)
EndFunc

Func s2()
    _IELinkClickByIndex($iee,2)
EndFunc

Func s3()
    _IELinkClickByIndex($iee,3)
EndFunc

However, when i press 1, nothing happens and i get this console error:

--> IE.au3 V2.4-0 Warning from function _IELinkClickByIndex, $_IEStatus_NoMatch

Does any

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  
Followers 0