ToyleY Posted December 5, 2007 Posted December 5, 2007 I want the key F1 to bring up help in my program.I put this command in program, so pressing F1 calls subroutine "QHelp"HotKeySet("{F1}", "QHelp")It all works OK but after program has closed the F1 key is still running the "QHelp" from my Autoit program (even in stuff like firefox, photoshop etc.)How do I deregister the hotkey F1 in my program (when closing down), or is there another way to assign the F1 key for help.Ta
Fossil Rock Posted December 5, 2007 Posted December 5, 2007 What's in your QHelp function? Agreement is not necessary - thinking for one's self is!
DW1 Posted December 5, 2007 Posted December 5, 2007 Hmm, I have never had a hotkey 'stick' like that, but to unregister it just do: HotKeySet("{F1}") <---- just don't put a function to point to and it will unregister. AutoIt3 Online Help
ToyleY Posted December 5, 2007 Author Posted December 5, 2007 "What's in your QHelp function?" - just a message box *HotKeySet("{F1}") * I'll try it later - I can't reboot at the moment and a test show the problem persists - I'll try with a clean slate later. Thank you both
Fossil Rock Posted December 5, 2007 Posted December 5, 2007 *HotKeySet("{F1}") *Is not a messagebox .... show some real code for some real assistance. Agreement is not necessary - thinking for one's self is!
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