Sign in to follow this  
Followers 0
ocamax

check if post have changed in a forum

4 posts in this topic

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 answer

in a forum like Phyton & Plugins

and for example this topic Suicidator City Engine changes.

Is this possible?

A code example would be appreciated

- Thanks in advance

Ocamax

Share this post


Link to post
Share on other sites



I've found a solution myself

Ocamax

Share this post


Link to post
Share on other sites

I was looking for something Similar, Mind sharing your solution?

Share this post


Link to post
Share on other sites

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

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