Sign in to follow this  
Followers 0
Walls192

Using "_IELinkGetCollection" to get links only containing "viewad.php?ad="

2 posts in this topic

How wold i Using "_IELinkGetCollection" to get links only containing "viewad.php?ad="

as I wand to build an adbux auto clicker.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

along these lines

copied and pasted from help file, and then added slight modifications

#include <IE.au3>
#include <Array.au3>
$oIE = _IECreate()
$oLinks = _IELinkGetCollection ($oIE)
$iNumLinks = @extended
Global $Link_Array[$iNumLinks]
For $oLink In $oLinks
    If StringInStr($oLink.href,'viewad.php?ad=') Then
        _ArrayAdd($Link_Array,$oLink.href)
    EndIf
    
Next
_ArrayDisplay($Link_Array)
Edited by Thatsgreat2345

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