helpwins Posted September 16, 2010 Share Posted September 16, 2010 iam tring to loop this script but i still need a way to stop the script at any time here it is _WinWaitActivate("Start","") MouseClick("left",288,36,1) _WinWaitActivate("yahoo - Windows Internet Explorer","") MouseClick("left",796,850,1) MouseClick("left",431,498,1) MouseClick("left",441,549,1) MouseClick("left",515,658,1) MouseClick("left",842,907,1) MouseClick("left",465,890,1) MouseClick("left",545,632,1) MouseClick("left",523,644,1) MouseClick("left",487,633,1) MouseClick("left",512,618,1) MouseClick("left",906,866,1) MouseClick("left",548,634,1) MouseClick("left",407,623,1) MouseMove(447,740) MouseDown("left") MouseMove(449,740) MouseUp("left") MouseClick("left",543,631,1) MouseClick("left",518,646,1) MouseClick("left",485,630,1) MouseClick("left",512,622,1) Link to comment Share on other sites More sharing options...
JohnOne Posted September 16, 2010 Share Posted September 16, 2010 http://www.autoitscript.com/autoit3/docs/keywords/For.htm http://www.autoitscript.com/autoit3/docs/keywords/While.htm http://www.autoitscript.com/autoit3/docs/functions/HotKeySet.htm AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
seandisanti Posted September 16, 2010 Share Posted September 16, 2010 (edited) just create a function that exits on hotkey Hotkeyset("[F10]","ForTheLoveOfGodPleaseMakeItStopItsRuiningEverything") Func ForTheLoveOfGodPleaseMakeItStopItsRuiningEverything() exit Msgbox(0,"wow","that was a close one") EndFunc ***edit*** auotit typo Edited September 16, 2010 by cameronsdad Link to comment Share on other sites More sharing options...
seandisanti Posted September 16, 2010 Share Posted September 16, 2010 just create a function that exits on hotkey Hotkeyset("[F10]","ForTheLoveOfGodPleaseMakeItStopItsRuiningEverything") Func ForTheLoveOfGodPleaseMakeItStopItsRuiningEverything() exit Msgbox(0,"wow","that was a close one") EndFunc ***edit*** auotit typo the msgbox will never display btw, that was just to be funny Link to comment Share on other sites More sharing options...
KurogamineNox Posted September 16, 2010 Share Posted September 16, 2010 (edited) lol, automating internet explorer. If your going to do something like that it would probably be easier to just embed and _IE and use the functions to click on links and stuff, as cordinates sometimes dont work(correct me if I am wrong) Because not all peoples computers have the same screen size hence the cordinates could get glitched and not work properly. You can ignore this, just bringing this up anyways. Edit: If your going to loop, you could use While 1 ;Your coding WEnd Edited September 16, 2010 by KurogamineNox Link to comment Share on other sites More sharing options...
seandisanti Posted September 16, 2010 Share Posted September 16, 2010 lol, automating internet explorer. If your going to do something like that it would probably be easier to just embed and _IE and use the functions to click on links and stuff, as cordinates sometimes dont work(correct me if I am wrong) Because not all peoples computers have the same screen size hence the cordinates could get glitched and not work properly. You can ignore this, just bringing this up anyways.you're totally right, i honestly didn't even look at the code long enough to see that it was for IE. ie.au3 is the way to go Link to comment Share on other sites More sharing options...
KurogamineNox Posted September 16, 2010 Share Posted September 16, 2010 you're totally right, i honestly didn't even look at the code long enough to see that it was for IE. ie.au3 is the way to goLmao, Is your location real? As In Las Vegas? If so then wow, you live in my area I suppose.{Ive looked into IE but it glitches alot unlike firefox but FF is kind of hard for me, I havnt even got it to work at all once}helpwins, as long as your not making a bot or anything, you should look into IE.au3 as it will make things much, much easier than doing things manually. Link to comment Share on other sites More sharing options...
seandisanti Posted September 16, 2010 Share Posted September 16, 2010 Lmao, Is your location real? As In Las Vegas? If so then wow, you live in my area I suppose.Yep, i live in las vegas; smoke_n can corroborate. currently responding from my cubicle at spring mountain and jones Link to comment Share on other sites More sharing options...
helpwins Posted September 17, 2010 Author Share Posted September 17, 2010 lol, automating internet explorer. If your going to do something like that it would probably be easier to just embed and _IE and use the functions to click on links and stuff, as cordinates sometimes dont work(correct me if I am wrong) Because not all peoples computers have the same screen size hence the cordinates could get glitched and not work properly. You can ignore this, just bringing this up anyways. Edit: If your going to loop, you could use While 1 ;Your coding WEnd true but its for mw only lol Link to comment Share on other sites More sharing options...
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