imacrazyballoono Posted May 28, 2006 Share Posted May 28, 2006 How do I make it so that it will run a script until I press something like alt+s? Link to comment Share on other sites More sharing options...
Daniel W. Posted May 28, 2006 Share Posted May 28, 2006 HotKeySet("{ALT}s", "_exit") ;;;;;; Your Script Func _exit() Exit EndFunc That's it --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote] Link to comment Share on other sites More sharing options...
imacrazyballoono Posted May 28, 2006 Author Share Posted May 28, 2006 (edited) Wow, thanks that seemed too easy. So just to make sure, if i follow this, it will do the script until i press it? so it will loop it? Edited May 28, 2006 by imacrazyballoono Link to comment Share on other sites More sharing options...
Daniel W. Posted May 28, 2006 Share Posted May 28, 2006 Anything is easy for anyone everytime. --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote] Link to comment Share on other sites More sharing options...
imacrazyballoono Posted May 28, 2006 Author Share Posted May 28, 2006 I tried that, it didnt loop. Ill post it. HotKeySet("{ALT}s", "_exit") $rnd1 = Random ( 0, 700) $rnd2 = Random ( 0, 700) MouseMove($rnd1, $rnd2, 1) sleep(300) Func _exit() Exit EndFunc Link to comment Share on other sites More sharing options...
Emperor Posted May 28, 2006 Share Posted May 28, 2006 I tried that, it didnt loop. Ill post it. HotKeySet("{ALT}s", "_exit") $rnd1 = Random ( 0, 700) $rnd2 = Random ( 0, 700) MouseMove($rnd1, $rnd2, 1) sleep(300) Func _exit() Exit EndFuncYou forgot to put your script inside a loop. HotKeySet("{ALT}s", "_exit") While 1 $rnd1 = Random ( 0, 700) $rnd2 = Random ( 0, 700) MouseMove($rnd1, $rnd2, 1) sleep(300) Wend Func _exit() Exit EndFunc Link to comment Share on other sites More sharing options...
imacrazyballoono Posted May 28, 2006 Author Share Posted May 28, 2006 Ok, that didnt work, i had to sit for about 5 minutes pressing tab and using hotkeys. = ) anyway. alt + s didnt stop it. Link to comment Share on other sites More sharing options...
Emperor Posted May 28, 2006 Share Posted May 28, 2006 HotKeySet("!s", "_exit") While 1 $rnd1 = Random ( 0, 700) $rnd2 = Random ( 0, 700) MouseMove($rnd1, $rnd2, 1) sleep(300) Wend Func _exit() Exit EndFunc Try that, just had to change the HotKeySet() function to take the proper format. Link to comment Share on other sites More sharing options...
imacrazyballoono Posted May 28, 2006 Author Share Posted May 28, 2006 yup, that worked fine. thanks a lot. 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