Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~Esc::{
- ;先切换输入法、再按ESC
- if (WinActive("ahk_exe Code.exe")
- or WinActive("ahk_exe WindowsTerminal.exe")
- or WinActive("ahk_exe cmd.exe")) {
- Send "{Blind}{Esc Down}{Esc Up}"
- SwitchIME(0x04090409) ; 切换为英文输入
- Return
- }
- Send "{Blind}{Esc Down}{Esc Up}"
- }
Advertisement
Add Comment
Please, Sign In to add comment