3

If I have a command that fires on Windows + Shift + Right, the problem is that when I release the keys the start menu pops up. You can see it even with this script which should do nothing. Is there a way to stop that from happening.

#+Right::Return
Derek
  • 7,615
  • 5
  • 33
  • 58

3 Answers3

0

The start menu gets triggered on the release of the Win key. Though your test script works on my end (AHK_L v1.1.23.01) you can try adding this:

#+Right Up::return ; Do nothing on key release
MayaS
  • 21
  • 1
0

Try this and see if it works:

#+Right::
KeyWait, LWin
; some stuff
Return
nelsontruran
  • 514
  • 4
  • 18
  • Still brings up the start menu - even as is - I didn't bother adding any "some stuff" yet :) – Derek Nov 15 '16 at 11:59
0

This work in my case.

#H::     ;do something
#+H Up:: return

#RButton::     ;do something
#LButton Up::  Send {VKFF}

Just return or send another key to prevent it.

Jie Wang
  • 620
  • 1
  • 10
  • 17