欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

更改快捷键 ALT+F4

最编程 2024-03-31 20:59:46
...

一、Power Keys 方法

官网  https://powerkeys.github.io/
下载地址  https://powerkeys.github.io/download
帮助1.https://powerkeys.github.io/faq
  2.https://www.iplaysoft.com/power-keys.html


软件固定使用 "F1 + 空格" 代替 "Alt + F4" ,貌似不能更改







二、AutoHotkey 方法

一款轻量级软件,大小仅3mb,可以很方便的完成热键修改、文本替换、自定义宏、等

1. 下载 AutoHotkey

官方网址:AutoHotkey

Download >
Download Current Version >
AutoHotkey_1.1.33.00_setup.exe[3.05MB]

2.新建一个ahk项目

桌面右键新建ahk文件(AutoHotkey Script),或者新建文本文件,修改文件后缀为 .ahk

右键文件 Edit Script

3. 更改

Alt+F4 更改为 Ctrl + Alt + w
复制下列代码到文本里面,保存退出

^!w::
Send, !{f4}
Return

Alt 由英文标点 ! 表示
Ctrl 由 ^ 表示
Win 由 # 表示
Shift 由 + 表示
快捷键可以用 & 连接,可用可不用

图片有个地方打错了

4. 双击文件运行,或者右键导出exe运行


完成




传送门

  • 快速参考 | AutoHotkey
  • AutoHotkey 帮助
  • AutoHotkey - AutoHotKey Documentation
  • 最小化窗口的快捷键 (史上最强) - 简书