Jump to content

Easy script!


tang
 Share

Recommended Posts

I am trying to make a Ad clicker and have created an GUI the script

;

Script generated by AutoBuilder 0.5 Prototype

#include <GuiConstants.au3>

If Not IsDeclared('WS_CLIPSIBLINGS') Then Global $WS_CLIPSIBLINGS = 0x04000000

GuiCreate("MyGUI", 392, 316,(@DesktopWidth-392)/2, (@DesktopHeight-316)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)

$Group_1 = GuiCtrlCreateGroup("Ad clicker", 30, 90, 290, 130)
$Button_2 = GuiCtrlCreateButton("Start", 190, 140, 120, 70)
$Label_3 = GuiCtrlCreateLabel("Ad clicker will now start please press ok to start!", 40, 110, 140, 70)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
    ;;;
    EndSelect
WEnd
Exit

What I need it to do is when someone clicks start it opens up a webpage i choose something

like this:

#include <IE.au3>

; Create a browser window and navigate to hotmail
$oIE = _IECreate()
_IENavigate($oIE, "http://www.freewebs.com/sanyo12653")

Then all i need the scriot to do is scan for any ad links on the page and click them once then click back and carry on like that!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...