blazeddc Posted September 11, 2006 Share Posted September 11, 2006 Any help would be greatly appreciated. D: Link to comment Share on other sites More sharing options...
nairada Posted September 11, 2006 Share Posted September 11, 2006 (edited) Global $Paused HotKeySet("{END}", "TogglePause") HotKeySet("{HOME}", "Terminate") While 1 Sleep(100) WEnd Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) Send("{Enter}") WEnd EndFunc Func Terminate() Exit 0 EndFunc Hit End to start sending enter, home to close the program. something along those lines what you are looking for? Edited September 11, 2006 by nairada Link to comment Share on other sites More sharing options...
blazeddc Posted September 11, 2006 Author Share Posted September 11, 2006 It works outside of programs however inside of games it doesnt seem to work. D: Any idea how or is gameguard blocking such program from running. Link to comment Share on other sites More sharing options...
nairada Posted September 11, 2006 Share Posted September 11, 2006 It works outside of programs however inside of games it doesnt seem to work. D: Any idea how or is gameguard blocking such program from running. i had a problem with then when i was writing autohotkey programs to work in-game. basically, the keys weren't being held down, and i'd have to put SetKeyDelay 75,75 but, i've not got enough experience with autoit to make it work in-game. sorry 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