Jump to content

Recommended Posts

Posted (edited)

I don't exactly know what to put here, because all I have to say is in the title. :)

I suppose I could write some code just to explain what I mean:

HotKeySet("^!x", "Terminate");ctrl-alt-x

While 1
    Sleep(100)
WEnd

Func Terminate()
    Exit
EndFunc

and I'm trying to find multiple hotkeys for a function. This is just an example.

Thanks very much for reading this, and thanks most definately in advance for helping. :(

Edited by The Great 'Awesoma-Powa!'
Posted

HotKeySet("^!x", "Terminate");ctrl-alt-x
HotKeySet("{F9}", "Terminate")
HotKeySet("^!t", "Terminate")
While 1
    Sleep(100)
WEnd

Func Terminate()
    Exit
EndFunc

8)

NEWHeader1.png

Posted

You also can read what hotkey was pressed when the function goes by using @HotKeyPressed or something. Look it up in the help file.

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
×
×
  • Create New...