ConEmu:运行“ cls [ENTER]”的键盘快捷键


9

在ConEmu中,是否可以创建一个宏来键入/粘贴“ cls”,然后按[ENTER]并(理想地)为其分配键盘快捷键[CTRL] + L?

我正在尝试模拟Linux Shell的透明屏幕功能,但要模拟Windows Command Prompt / PowerShell。

Answers:


22

使用GuiMacro(“键和宏”页面)

print("\ecls\n")

“ \ e”模拟Esc Express,“ \ n”模拟Enter。

当然,您可以将此宏分配给任何所需的热键。


辉煌,完美的作品。
atwright147

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.