Jump to content
Sign in to follow this  

[SOLVED] _ielinkgetcollection and filtering...

Recommended Posts


ok, here's what I want to do.

Open my friendslist on facebook and then automatically open a new page based on their profilenumber...

this is how far I got until now.

#include <IE.au3>
$oIE = _IECreate ("http://www.facebook.com/friends/?everyone&ref=tn")
$oLinks = _IELinkGetCollection ($oIE)
For $oLink In $oLinks
    If StringInStr($oLink.href ,"profile") Then MsgBox(0, "Link Info", $oLink.href); match all links that contain the word PROFILE

for now I just want a msgbox popping up with the correct link.later that part will be changed to open a IE page to that location

the filter I'm trying to create works partly. until I want to change the link from http://www.facebook.com/profile.php?id= into http://apps.facebook.com/inthemafia/status_invite.php?from=

any suggestions please?

Edited by Overlord

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.