Anth Posted July 6, 2010 Share Posted July 6, 2010 How do I make a loop to send SHIFT over and over to activate sticky keys? And how to I make an exit hotkey to exit the script? I don't want someone to write it out for me, rather push me in the right direction. o.O Help is appreciated, thanks in advance. Link to comment Share on other sites More sharing options...
Anth Posted July 6, 2010 Author Share Posted July 6, 2010 (edited) I can't figure out how to edit, so I'm posting again. Another thing I need help with is making the script able to be paused/resumed? :S I found a tutorial for the pause/resume, how do I make the script start paused? Edited July 6, 2010 by Anth Link to comment Share on other sites More sharing options...
cageman Posted July 6, 2010 Share Posted July 6, 2010 (edited) HotKeySet("{HOME}", "Start") HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{END}", "stop") Global $Paused while 1 sleep(100) Wend Func Start() Send("{SHIFTDOWN}") EndFunc Func TogglePause() Send("{SHIFTUP}") $Paused = NOT $Paused While $Paused sleep(100) WEnd Send("{SHIFTDOWN}") EndFunc Func Stop() Send("{SHIFTUP}") Exit Endfunc it should be something like this. Just test and adjust it a bit. Hopefully i understood you right. Edited July 6, 2010 by cageman Link to comment Share on other sites More sharing options...
Anth Posted July 7, 2010 Author Share Posted July 7, 2010 (edited) HotKeySet("{HOME}", "Start") HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{END}", "stop") Global $Paused while 1 sleep(100) Wend Func Start() Send("{SHIFTDOWN}") EndFunc Func TogglePause() Send("{SHIFTUP}") $Paused = NOT $Paused While $Paused sleep(100) WEnd Send("{SHIFTDOWN}") EndFunc Func Stop() Send("{SHIFTUP}") Exit Endfunc it should be something like this. Just test and adjust it a bit. Hopefully i understood you right. Thank you How do I make a mouseclick not click at a specific place, just click in general? MouseClick("button", X, Y, CLICKS, SPEED) I've tried leaving X Y blank, also tried doing empty quotes, and they don't work. Is it possible even? Edited July 7, 2010 by Anth Link to comment Share on other sites More sharing options...
cageman Posted July 7, 2010 Share Posted July 7, 2010 Mouseclick("left") should work Link to comment Share on other sites More sharing options...
Anth Posted July 7, 2010 Author Share Posted July 7, 2010 Mouseclick("left") should workIt does, but not in the way that I need, I need it to click slower than what it does, Mouseclick("left") clicks beyond my slow computers comprehension and causes it to freeze. 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