Jump to content
Sign in to follow this  
FireFox

HotKeySet ....

Recommended Posts

FireFox

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.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
Andreik

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

Share this post


Link to post
Share on other sites
FireFox

@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

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.