Need help disabling windows key with no modifier

Post your working scripts, libraries and tools
capture99
Posts: 1
Joined: 29 Dec 2018, 10:24

Need help disabling windows key with no modifier

29 Dec 2018, 10:33

Hello,

I was wondering, if there is a way to disable the windows key when it's pressed alone, but still have it work as a modifier key (e.g. pressing Win+r or Win+1 etc.)
I found this old thread https://autohotkey.com/board/topic/7945 ... ifier-key/ but it doesn't seem to work anymore.
If anyone could provide any help, I would be very grateful.

Thank you in advance.
User avatar
Delta Pythagorean
Posts: 567
Joined: 13 Feb 2017, 13:44
GitHub: DelPyth
Location: Somewhere in the US

Re: Need help disabling windows key with no modifier

30 Dec 2018, 23:59

With the changes in 1.1.27.0:
Docs wrote: The hotkeys ~LWin:: and ~RWin:: no longer suppress the Start Menu. See #MenuMaskKey for details and a workaround.
You must now use this:

Code: Select all

#MenuMaskKey, vk07
And please put your questions for help in the Ask For Help subforum.
Thank you.

- [AHK].......: 1.1.33.02 Unicode 64-bit
- [OS].........: Windows 10.0.18362
- [GITHUB]...: github.com/DeltaPyth
- [PAYPAL]....: paypal.me/DelPyth
- [DISCORD]..: Delta#3324

Remember to use [code]CODE[/code] for your multi-line scripts.
Stay safe, stay inside, and remember to wash your hands for 20 seconds!

Return to “Scripts and Functions”

Who is online

Users browsing this forum: Bing [Bot], guest3456, Xtra and 24 guests