Yata Posted February 19, 2008 Share Posted February 19, 2008 Hi, My goal is to use HotKeySet() to exit the script when I press esc. Right now I have: HotKeySet("{Esc}", "exitProg") Func exitProg() EndFunc What do I need to put between Func exitProg() and EndFunc to exit my script? Thanks! Link to comment Share on other sites More sharing options...
John Posted February 19, 2008 Share Posted February 19, 2008 HotKeySet("{Esc}", "exitProg") Func exitProg() Exit EndFunc Link to comment Share on other sites More sharing options...
erezlevi Posted February 19, 2008 Share Posted February 19, 2008 Hi, My goal is to use HotKeySet() to exit the script when I press esc. Right now I have: HotKeySet("{Esc}", "exitProg") Func exitProg() EndFunc What do I need to put between Func exitProg() and EndFunc to exit my script? Thanks! The word "Exit" Link to comment Share on other sites More sharing options...
Yata Posted February 19, 2008 Author Share Posted February 19, 2008 Wow. I feel stupid. Thanks for enlightening me. 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