Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to use Cmder with AutoHotkey? #2982

Open
2 tasks done
Vasdranna opened this issue Dec 1, 2024 · 3 comments
Open
2 tasks done

Question: How to use Cmder with AutoHotkey? #2982

Vasdranna opened this issue Dec 1, 2024 · 3 comments

Comments

@Vasdranna
Copy link

Vasdranna commented Dec 1, 2024

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.
@chrisant996
Copy link
Contributor

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.

@Vasdranna
Copy link
Author

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:
image

Thank you for your reply and time explaining!

@chrisant996
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants