当前位置:网站首页>热键,界面可视化配置(界面交互)
热键,界面可视化配置(界面交互)
2022-04-23 05:38:00 【wyazyf】
应用程序地址(支持界面可视化配置):热键可视化配置.exe-桌面系统文档类资源-CSDN下载
源码依赖程序包地址:AutoHotkey_1.1.33.10_setup.exe-其它文档类资源-CSDN下载
热键可视化配置.ahk文件源码
;热键程序目录
ahk=C:\Program Files\AutoHotkey\AutoHotkey.exe
;配置文件地址
wj=C:\Users\Administrator\Desktop\config.ahk
;读完配置文件
FileRead,Contents,*t %wj%
if (ErrorLevel!=0) ; 配至文件不存在则进行初始化
{
;打开文件已追加形式写入(文件不存在,则自动创建)
file := FileOpen(wj, "a")
;通过这种方式写入内容到文件时, 要使用 `r`n 而不是 `n 来开始新行.
file.Write("`r`n F3::#d")
file.Write("`r`n F4::sendinput 123456")
file.Write("`r`n RAlt::^v")
file.Write("`r`n RCtrl::^c")
file.Close()
FileRead,Contents,*t %wj%
}
#NoTrayIcon ;不显示[托盘图标]
InputBox, OutputVar , 命令, 现有命令%Contents%, , 400, 500, 0, 0, , ,
if (ErrorLevel==0){
;打开文件已追加形式写入(文件不存在,则自动创建)
file := FileOpen(wj, "a")
;通过这种方式写入内容到文件时, 要使用 `r`n 而不是 `n 来开始新行.
file.Write("`r`n"+OutputVar)
file.Close()
;执行文件
Run,%ahk% "%wj%"
}
return
热键开发手册地址:AutoHotkey
版权声明
本文为[wyazyf]所创,转载请带上原文链接,感谢
https://blog.csdn.net/wyazyf/article/details/121164793
边栏推荐
- Find the number of "blocks" in the matrix (BFS)
- Radar equipment (greedy)
- On the use of constant pointer and pointer constant -- exercise (record)
- 踩坑:nacos利用startup.cmd -m standalone启动错误
- Use pagoda + Xdebug + vscode to debug code remotely
- windows连接mysql出现ERROR 2003 (HY000): Can‘t connect to MySQL server on ‘localhost‘ (10061)
- 3d slicer中拉直体的生成
- 【华为机试】考试得分总数(如何处理答错的情况?回溯一次,代表答错一题)
- Nécessité de précharger les cookies dans le sélénium
- Add two pointers? (legal or illegal)
猜你喜欢

Flutter 新一代圖形渲染器 Impeller

‘EddiesObservations‘ object has no attribute ‘filled‘

QSS, qdateedit, qcalendarwidget custom settings
![[the background color changes after clicking a line]](/img/3a/709d47fd3a370d86569fb9b560b403.png)
[the background color changes after clicking a line]

Branch and loop statements

Excel 2016 cannot open the file for the first time. Sometimes it is blank and sometimes it is very slow. You have to open it for the second time

Fast application fuzzy search

弘玑Cyclone RPA为国金证券提供技术支撑,超200个业务场景实现流程自动化

Cross platform packaging of QT packaging program

deep learning object detection
随机推荐
shell指令学习1
Establish excel bookkeeping book through setting context menu
50 SQL exercises, answers and detailed analysis
CMake基础教程(39)pkgconfig
On the use of constant pointer and pointer constant -- exercise (record)
Edit, cancel, pull up menu
Use of ES6 array
selenium預先加載cookie的必要性
Branch and loop statements
js数字大写方法
Wbpack configuring production development environment
Flutter 新一代图形渲染器 Impeller
Box collapse and margin collapse
Simple and basic use of switch and if
acwing854. Floyd finds the shortest path
MDN文档里面入参写法中括号‘[]‘的作用
Rog attack
Find the number of "blocks" in the matrix (BFS)
JVM memory and memory overflow exceptions (personal summary)
Three methods of list rendering