Jump to content
Sign in to follow this  

Detect forum Post

Recommended Posts



I'm new here i would like to get an example how to detect if someone writes in my post

Best regards Timmie

Share this post

Link to post
Share on other sites

Your question is a bit vague, but if your asking if there is a way to track a thread that you have created, posted in, or are just interested in.. then ya, there is a way.

Simply look above the first post in the topic (to the right, right below the "Add Reply" button) for the big blue "options" button. Click it, then click "Track this topic", you will be confronted with another screen offering you different ways you will be notified. Once past that screen your in the clear, ready to track a thread :)

I hope thats the info you were looking for.

Edited by MobMentality

Share this post

Link to post
Share on other sites

Thx for the reply but that wasnt exactly what i was looking. What im looking for is how autoit can detect if someone write in my topic in d2jsp. Here is my script so far

#include <GUIConstants.au3>
#include <IE.au3> 
$BumpTimer = TimerInit()
$4HourBump = 60*60*4*1000
$ManyBumps = 2
$i = 0

GUICreate("BumpBot"); will create a dialog box that when displayed is centered

GUICtrlCreateGroup ("proporties for BumpBot", 0, 0, 210, 300, $WS_DLGFRAME)
$Button_1 = GUICtrlCreateButton ("Write Post",  20, 250, 100)
$topicmes = GUICtrlCreateEdit("Write your topic message here...", 20, 20, 180, 30, $WS_DLGFRAME)
$postmes = GUICtrlCreateEdit("Write your post message here...", 20, 60, 180, 180, $WS_DLGFRAME)

GUISetState ()   ; will display an  dialog box with 2 button

; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
        Case $msg = $GUI_EVENT_CLOSE
        Case $msg = $Button_1
            $postmes2 = GUICtrlRead($postmes)
            $topicmes2 = GUICtrlRead($topicmes)
            $oIE = _IECreate ("http://forums.d2jsp.org/index.php?showforum=170")
            _IELoadWait ($oIE)
            WinSetState($oIE, "", @SW_MAXIMIZE)
            _IELinkClickByText ($oIE, "new topic")
            _IELoadWait ($oIE)
            $oform = _IEFormGetObjByName($oIE, "REPLIER")
            $IE_PostMes = _IEFormElementGetObjByName($oform, "post")
            $IE_TopicMes = _IEFormElementGetObjByName($oform, "ttitle")
            $IE_Submit = _IEFormElementGetObjByName ($oform, "submit")
        ; Set field values and submit the form
            _IEFormElementSetValue($IE_PostMes, $postmes2)
            _IEFormElementSetValue($IE_TopicMes, $topicmes2)
            _IEAction ($IE_Submit, "Preview")
                    If TimerDiff($BumpTimer) >= $4HourBump Then
                        MsgBox(0, "", "the bump time has been reached writing bump message....")
                    $i = $i +1
                Until $i >= $ManyBumps

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