FireFox Posted January 25, 2009 Posted January 25, 2009 Hi, I have never use HotKeySet, but I want to make a try with combinaisons and its not working Hotkeys with functions works, but not for ESC+DEL because the script understand that hotkey is for ESC & DEL and not for ESC+DEL It doesnt work also for CTRL+ESC... HotKeySet('^{F12}','_WK') HotKeySet('^{F9}','_WH') HotKeySet('^{F7}','_WMIN') HotKeySet('^{F6}','_WMAX') HotKeySet('^{ESC}','_UK') HotKeySet('{ESC}{DEL}','_UR') Func _WK() MsgBox(64, '_WK','HotKeySet') EndFunc Func _WH() MsgBox(64, '_WH','HotKeySet') EndFunc Func _WMIN() MsgBox(64, '_WMIN','HotKeySet') EndFunc Func _WMAX() MsgBox(64, '_WMAX','HotKeySet') EndFunc Func _UK() MsgBox(64, '_UK','HotKeySet') EndFunc Func _UR() MsgBox(64, '_UR','HotKeySet') EndFunc While 1 Sleep(250) WEnd Thanks for anyhelp, Cheers, FireFox.
Andreik Posted January 25, 2009 Posted January 25, 2009 Help file:The following hotkeys cannot be set:Ctrl+Alt+Delete It is reserved by Windows F12 It is also reserved by Windows, according to its API. NumPad's Enter Key Instead, use {Enter} which captures both Enter keys on the keyboard. Win+B,D,E,F,L,M,R,U; and Win+Shift+M These are built-in Windows shortcuts. Note: Win+B and Win+L might only be reserved on Windows XP and above. Alt, Ctrl, Shift, Win These are the modifier keys themselves! Other Any global hotkeys a user has defined using third-party software, any combos of two or more "base keys" such as '{F1}{F2}', and any keys of the form '{LALT}' or '{ALTDOWN}'.And I sure that CTRL+ESC is reserved.
FireFox Posted January 25, 2009 Author Posted January 25, 2009 (edited) @Andreik hm...thats why I never use HotKeySet... it sucks but not really ^^ > it sucks because its not working for all keys > Reserve keys for only one program > not needed to be in while like _IsPressed and respond immediatly > not using a lot of CPU as _IsPressed The best way it to merge both Cheers, FireFox. Edited January 25, 2009 by FireFox
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