Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Alt Key getting stuck in down position


  • Please log in to reply
2 replies to this topic
snsd
  • Members
  • 33 posts
  • Last active: Feb 09 2015 04:16 PM
  • Joined: 05 Oct 2010
Hi: Gmail has a shortcut SHIFT + 3 that deletes a message. I prefer using [ALT][X].

I tried creating a hotkey

!x::
SendInput +3
return

as well as

!x::
Send {Shift Down}3{Shift Up}
return

Both work for a while and then all of a sudden the ALT key gets "stuck" in the down position. I can't figure out exactly what causes it to stick - but it does.

Does anyone have any idea as to why this might be happening or have a suggestion how to fix it?

Thanks in advance for your help.

Dave

None
  • Members
  • 3199 posts
  • Last active: Nov 05 2015 09:55 PM
  • Joined: 28 Nov 2009
Try it this way.
!x:: 

KeyWait Alt ;wait for you to release alt before the send

SendInput +3 

return


snsd
  • Members
  • 33 posts
  • Last active: Feb 09 2015 04:16 PM
  • Joined: 05 Oct 2010
Perfect. Works like a charm. I just noticed it happening on another hotkey and thought maybe I had messed up my script file. However, I'll do the same with it.

Thanks for your excellent and prompt response!

Dave