Sign in to follow this  
Followers 0
tlokz

HotKeySet

4 posts in this topic

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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Tyvm guys muttley

Share this post


Link to post
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
Sign in to follow this  
Followers 0