Guest User

Untitled

a guest
Feb 22nd, 2025
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. ~Esc::{
  2. ;先切换输入法、再按ESC
  3. if (WinActive("ahk_exe Code.exe")
  4. or WinActive("ahk_exe WindowsTerminal.exe")
  5. or WinActive("ahk_exe cmd.exe")) {
  6. Send "{Blind}{Esc Down}{Esc Up}"
  7. SwitchIME(0x04090409) ; 切换为英文输入
  8. Return
  9. }
  10. Send "{Blind}{Esc Down}{Esc Up}"
  11. }
Advertisement
Add Comment
Please, Sign In to add comment