Arethemad Posted July 16, 2007 Posted July 16, 2007 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.
dufran3 Posted July 16, 2007 Posted July 16, 2007 umm....look up the Send() function, you could just send a ^r to refresh the page....not sure what you mean about staying the same position on the screen. Could you elaborate a little bit more?
mikehunt114 Posted July 16, 2007 Posted July 16, 2007 Forums just went nuts 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]
Blue_Drache Posted July 16, 2007 Posted July 16, 2007 Look up the #include <IE.au3> functions in the help file. Those are more reliable than Send() and Click(x,y) Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
Arethemad Posted July 16, 2007 Author Posted July 16, 2007 Forums just went nuts 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now