Jump to content

Recommended Posts

Guest sjhlax89
Posted

What is the Function to use in v3 in a hotkey if i wanted to to Terminate or exit the program?

Posted

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

Posted

HotKeySet("^!x", "capExit")

Func capExit()

Exit

EndFunc

------

This will exit when CTRL-ALT-x is pressed.

Def

Posted

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

Guest sjhlax89
Posted

Ok, thanks for your help!

Posted

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.....
Posted

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...... :)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...