Jump to content

HotKeySet ....


FireFox
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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.

When the words fail... music speaks.

Link to comment
Share on other sites

@Andreik

hm...thats why I never use HotKeySet... it sucks but not really ^^

:shhh: > 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

:lmao: > not using a lot of CPU as _IsPressed

The best way it to merge both :think:

Cheers, FireFox.

Edited by FireFox
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...