HardHackz Posted February 28, 2007 Share Posted February 28, 2007 Hey, I have this script: HotKeySet("{F5}","_F5") HotKeySet("{F8}","_terminate") Func _F5() MsgBox(0,"HotKey","F5 Clicked!") EndFunc Func _terminate() Exit EndFunc Because I want to learn how the HotKeys work. The problem is, it exits before I can do anything, how can I make it only exit if I click that button? Regards, HardHackz [center]My BlogOldSock Programs (AutoIT Apps)A Message to Hackers! (NOT SKIDDIES!)OldSock Programs is my little "company."[/center] Link to comment Share on other sites More sharing options...
xcal Posted February 28, 2007 Share Posted February 28, 2007 You need an idle loop to keep the script going. How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
HardHackz Posted February 28, 2007 Author Share Posted February 28, 2007 (edited) Okay, not quite sure how I would go about that, but thanks. Got it: While 1 Sleep(1000) WEnd Thanks! Edited February 28, 2007 by HardHackz [center]My BlogOldSock Programs (AutoIT Apps)A Message to Hackers! (NOT SKIDDIES!)OldSock Programs is my little "company."[/center] Link to comment Share on other sites More sharing options...
xcal Posted February 28, 2007 Share Posted February 28, 2007 Look at the HotKeySet example in the help file. How To Ask Questions The Smart Way 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