tlokz Posted July 3, 2008 Share 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 Link to comment Share on other sites More sharing options...
Andreik Posted July 3, 2008 Share 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. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Voz Posted July 3, 2008 Share 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 Link to comment Share on other sites More sharing options...
tlokz Posted July 3, 2008 Author Share Posted July 3, 2008 Tyvm guys muttley Link to comment Share on other sites More sharing options...
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