Guest sjhlax89 Posted October 5, 2004 Share Posted October 5, 2004 What is the Function to use in v3 in a hotkey if i wanted to to Terminate or exit the program? Link to comment Share on other sites More sharing options...
Matt @ MPCS Posted October 5, 2004 Share Posted October 5, 2004 What is the Function to use in v3 in a hotkey if i wanted to to Terminate or exit the program?<{POST_SNAPBACK}>You have to create a custom function that contains exit... and look up HotKeySet in the help file. Also refer to the topic in the help section called "How to recieve help".*** Matt @ MPCS Link to comment Share on other sites More sharing options...
Def Posted October 5, 2004 Share Posted October 5, 2004 HotKeySet("^!x", "capExit") Func capExit() Exit EndFunc ------ This will exit when CTRL-ALT-x is pressed. Def Link to comment Share on other sites More sharing options...
DaLiMan Posted October 5, 2004 Share Posted October 5, 2004 Keep in mind that {ESC} is not a good option for this HotKey if you are using Auto-It GUI from which you start different Scripts. It terminates your GUI script but not the Script of your choice. I use {SPACE} very often. Easy access and very usefull. Greetings, DaLiMan Link to comment Share on other sites More sharing options...
Guest sjhlax89 Posted October 5, 2004 Share Posted October 5, 2004 Ok, thanks for your help! Link to comment Share on other sites More sharing options...
friends Posted October 5, 2004 Share Posted October 5, 2004 Keep in mind that {ESC} is not a good option for this HotKey if you are using Auto-It GUI from which you start different Scripts.It terminates your GUI script but not the Script of your choice.I use {SPACE} very often. Easy access and very usefull.Greetings,DaLiMan<{POST_SNAPBACK}>well... thanks for the tip ! I just knew it..... Link to comment Share on other sites More sharing options...
DaLiMan Posted October 5, 2004 Share Posted October 5, 2004 well... thanks for the tip ! I just knew it.....<{POST_SNAPBACK}>But some people [like me] aren't that good programmers. :"> And if you like the idea that the [ESC] button exit's your program 'cause this feels so proffesional and works great for a while until you start using Auto-It GUI and then wondering why it doesn't work like it used to....Well...I thought I just safe somebody some time...... 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