Jump to content
Sign in to follow this  

Twitter PC control

Recommended Posts


I know Valuator made MyPCTweet and since he didn't release the source code I don't know how long his code is but I made this little snippet for anyone that wants to make use of it.

#include <INet.au3>
#include <String.au3>
$URL = 'https://twitter.com/user'
While 1
    $TWIT = _INetGetSource($URL)
    $TWIT2 = _StringBetween($TWIT, '<span class="entry-content">', '</span>')
    If Not @error Then
        If $TWIT2[0] = 'HI' Then
            MsgBox(0, '', 'HI')

Just edit in whatever functions you want it to do with certain status updates and run it :blink:

Edited by Epdmk

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.