Jump to content

Help Making A VERY Simple Bot


Recommended Posts

All I want is a bot that clicks, refreshes IE(Using ctrl+r, so it stays in the same screen position), and then repeats the process.

I tried, but failed miserably and am not even relatively close to getting it right. The page I want it to work on is my Facebook homepage, if that helps.

Thanks a ton, whomever helps.

Link to comment
Share on other sites

Forums just went nuts :whistle:

Fancy...

Hopefully this will set you on the right path:

HotKeySet("{ESC}", "Stop")      ;allows you to exit your never-ending loop

$x = "Enter some coordinate"    ;enter the coords of what you want to click
$y = "Enter some coordinate"

While 1                         ;initiate a neveer-ending loop
    MouseClick("left", $x, $y)
    Send("^r")                  ;this sends Ctrl+R
WEnd

    
Func Stop()
    Exit
EndFunc
IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]
Link to comment
Share on other sites

Forums just went nuts :whistle:

Fancy...

Hopefully this will set you on the right path:

HotKeySet("{ESC}", "Stop")      ;allows you to exit your never-ending loop

$x = "Enter some coordinate"    ;enter the coords of what you want to click
$y = "Enter some coordinate"

While 1                         ;initiate a neveer-ending loop
    MouseClick("left", $x, $y)
    Send("^r")                  ;this sends Ctrl+R
WEnd

    
Func Stop()
    Exit
EndFunc

Thanks a ton!

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...