Sign in to follow this  
Followers 0
autoitxp

hotkeyset Shift behaviour

1 post in this topic

well hotkeyset for shift key is doining abnormal behaviour actually rightshift key not coming at up state . Leftshift key works ok with this code but Rightshift seem to pressed and not coming to up state .

HotKeySet("+{2}", "captureEsc")

HotKeySet("{ESC}", "Terminate")

While 1
sleep(20)
WEnd

Func captureEsc()
HotKeySet("+{2}")

Send("+{2}")

HotKeySet("+{2}", "captureEsc")

EndFunc

Func Terminate()
    Exit 0
EndFunc

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  
Followers 0