tlokz Posted July 3, 2008 Posted July 3, 2008 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
Andreik Posted July 3, 2008 Posted July 3, 2008 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 anywaysUse HotKeySet("KEY") without function to delete a HotKeySet.
Voz Posted July 3, 2008 Posted July 3, 2008 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
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