Jump to content

HotKeySet


Recommended Posts

After setting a hotkey then it is set and I wanna know how to delete a hotkeyset?

Or should I try to get _IsPressed to work? But thing is I have functions still running and don't want _IsPressed in my While 1 loop and the loop takes a lil bit to complete anyways

Link to comment
Share on other sites

After setting a hotkey then it is set and I wanna know how to delete a hotkeyset?

Or should I try to get _IsPressed to work? But thing is I have functions still running and don't want _IsPressed in my While 1 loop and the loop takes a lil bit to complete anyways

Use HotKeySet("KEY") without function to delete a HotKeySet.

When the words fail... music speaks.

Link to comment
Share on other sites

Do you want to unbind a hotkey?

HotKeySet("{F11}","baz")

While 1
    Sleep(100)
WEnd

Func baz()
    MsgBox(0,"foo","bar")
    HotKeySet("{F11}");Unbind the hotkey {F11}
EndFunc

This will bind F11 to a function and the function will then unbind the key again

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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