Jump to content

Hotkey stricks!


waardd
 Share

Recommended Posts

I defined several hotkeys sh+F1 - sh+F9 and Ctrl+F1 but there is a problem with it.

About 4 out of 10 times the Shift or Ctrl seems to stay pressed after executing the hotkey. This is not a HW problem since its on more then 5 keyboard. After i press shift or Ctrl again the key stays so to say up. Who cab help me with this?

In the example $F9 is Exit.

The hotkeys are programmed to function in Putty

Hotkey:

HotKeySet("+{F9}", "_F9")

Fuction:

Func _F9()
$state = WinGetState("[CLASS:PuTTY]", "")
If BitAnd($state, 8) Then
  Send($F9 & "{ENTER}")
EndIf
EndFunc
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

×
×
  • Create New...