Using Mouse Keys to Activate Menu (a guide using AHK) #853
Replies: 3 comments
-
|
Someone not only found my snippet useful, but also improved it. I'm happy 😊 |
Beta Was this translation helpful? Give feedback.
-
|
That looks like an super awesome solution! Someone should make a YouTube video on this. Especially for people who do not know what AHK is, how to install it and how to use it. I'll turn this into a discussion, as it's not really an "issue". But anyways thanks a ton for sharing this! |
Beta Was this translation helpful? Give feedback.
-
|
See AHK tutorial for |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi community! I see there are a lot of people trying to activate Kando menu using mouse keys. As I am one of you, I just wanted to share my solutions.
The basics
here, I use AutoHotKey (AHK) for activating Kando menu. explanatory diagram here:
Now, the simplest example can be like this:
Common modifiers in AHK world:
Winis#Altis!Ctrlis^Shiftis+So,
^XButton1meansCtrl+XButton1. I try not to face conflicts of usual use cases for buttons. usuallyXButton1is used tonavigate backward. So, I added the need of extra modifierCtrl, so that I can navigate back using just theXButton1, and open the menu usingCtrl+XButton1.The inspiration
Now, is there a better solution? like some of us (including me) definitely want to push forward to do something so that we do not need to tediously press the
Ctrlkey to open the pie menu. I found this:Originally posted by @SlayVict in #433
This code conditionally triggers the pie menu:
Otherwise, the original key is triggered. How beautiful!
Improved, yet still simple version
here is an improved, ahk v2 code.
This example binds the
XButton1button to trigger theCtrl+Alt+Shift+F18conditionally.improvements:
XButton1) press is started. it feels seamless to use when mouse is moving fastI felt happy!
it felt natural to use... but... one problem still exists: creating new binds.
This inspired me to dig in further, as I didn't want to copy and paste this code and modify the keys inside to make it work for every new pie menu.
The ultimate one
The main purpose of this version is to:
It works, and this finally makes me content!
There might be scope to optimize the code; feel free to do so and share with the community!
Beta Was this translation helpful? Give feedback.
All reactions