3 假设您只想退出当前程序,此AutoHotKey脚本应该可以解决这个问题: ;Activate on Windows key + q #q:: ;Simulate Alt + F4 being pressed Send !{F4} — 詹姆斯P. source