Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.59k stars 572 forks source link

ConEmu doesn't catch AutoHotkey commands #1635

Open pidgeon777 opened 6 years ago

pidgeon777 commented 6 years ago

O.S.: Windows 8.1 Pro x64 AutoHotkey: 1.1.25.02 ConEmu: x64 180626 preview

When executing a command in AutoHotkey:

^F12:: ; Run Command Prompt
Run "cmd"
Return

the default Windows Command Prompt is opened when activating the hotkey. I would expect ConEmu to start instead.

Config of ConEmu:

image

Maximus5 commented 6 years ago

For the sake of reliability ConEmu injects ConEmuHk only into processes when they bring their window to foreground (get focus). That is by design and I have no intention to change that. Run ConEmu instead of cmd

pidgeon777 commented 6 years ago

I already thought about the solution you offered, but I appreciate your explanation regarding my issue. I'll follow your recommendation then, eventually by making use of arguments when running ConEmu via command line.

On the other hand, I noticed that a similar open issue already exists:

https://github.com/Maximus5/ConEmu/issues/579