ocamax Posted August 25, 2009 Share Posted August 25, 2009 I'm newbie at autoit, so I hope someone can help me with this:I want to get a popup window or an alert with the link to the last page in a topic if someone answerin a forum like Phyton & Pluginsand for example this topic Suicidator City Engine changes.Is this possible?A code example would be appreciated- Thanks in advanceOcamax Link to comment Share on other sites More sharing options...
ocamax Posted August 25, 2009 Author Share Posted August 25, 2009 I've found a solution myself Ocamax Link to comment Share on other sites More sharing options...
Agent29 Posted August 25, 2009 Share Posted August 25, 2009 I was looking for something Similar, Mind sharing your solution? Link to comment Share on other sites More sharing options...
ocamax Posted August 25, 2009 Author Share Posted August 25, 2009 This is what I've managed so far: #include <IE.au3> $oIE = _IECreate("http://blenderartists.org/forum/forumdisplay.php?f=11") $topic = "Suicidator City Engine" $oLinks = _IELinkGetCollection($oIE) For $oLink in $oLinks $sLinkText = _IEPropertyGet($oLink, "innerText") If StringInStr($sLinkText, $topic) Then _IEAction($oLink, "click") ExitLoop EndIf Next Sleep (5000) $PageClick = "Last" $oLinks = _IELinkGetCollection($oIE) For $oLink in $oLinks $sLinkText = _IEPropertyGet($oLink, "innerText") If StringInStr($sLinkText, $PageClick) Then _IEAction($oLink, "click") ExitLoop EndIf Next It opens the Phyton&Plugins forum, then searches for the topic Suicidator City Engine, and after that search for the text Last which is the last page on the topic. The last page holds the newest Post. Ocamax Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now