Pausing my bot by pressing a key
Posted: Sat Nov 13, 2010 9:06 pm
Well, I'm trying to make a way to pause my bot so I don't have to fight like crazy to make it stop. I figured out how to catch user input and close my bot but it requires my bot program to be in focus which defeats the point really.
How could I make a pause or exit on key press function that doesn't require my bot tobe in focus?
Thanks.
How could I make a pause or exit on key press function that doesn't require my bot tobe in focus?
Thanks.