Question: How to use Cmder with AutoHotkey?
Opened this issue · 3 comments
Question
I don't know if this is a question or rather a bug. Pardon me if it's in the wrong place.
I have an AutoHotkey V2 script always running in the background, whose main function is to map the Caps Lock key to act as a modifier (link for reference). The problem is that, more often than not, Cmder completely ignores the script, and this behavior even propagates to the programs opened from Cmder. For example, if Cmder ignores the script and I run VS Code from it, VS Code ignores the AutoHotkey script as well. However, if I open VS Code normally (not from Cmder), it works as expected.
Sometimes, when I restart my PC or Cmder, it works and captures the AutoHotkey script, but I still haven't found the situation that triggers this issue.
If anyone can shed some light on this, I'd be happy to hear it.
Cmder version: Version 1.3.24.236
Operating system: Windows 11
Checklist
- I have read the documentation and made sure what I'm looking for isn't present, or is unclear.
- I have searched for similar issues, and either this question wasn't asked before, or I didn't find any that describe my question.
ConEmu also hooks the keyboard, which overrides AutoHotkey's hooks.
Cmder uses ConEmu as its terminal.
You can turn off ConEmu keyboard hooks in its Settings dialog box.
ConEmu also hooks the keyboard, which overrides AutoHotkey's hooks.
Cmder uses ConEmu as its terminal.
You can turn off ConEmu keyboard hooks in its Settings dialog box.
Excuse my ignorance, but, where can I find that option?
This is what I currently see in the Settings > Keyboard window, I don't know you you meant this:
Thank you for your reply and time explaining!
Check the ConEmu documentation.
https://conemu.github.io/en/ConEmuHk.html
https://conemu.github.io/en/SettingsGeneral.html
It's in the General page.
There's also a "Search" box where you can type to find things in the Settings dialog page (top left corner).