当前位置:网站首页>热键,界面可视化配置(界面交互)
热键,界面可视化配置(界面交互)
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
边栏推荐
- [the background color changes after clicking a line]
- (11) Vscode code formatting configuration
- 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
- Rog attack
- Camera imaging + homography transformation + camera calibration + stereo correction
- Some pits used by uni
- 字符识别easyocr
- STL function library
- Isosceles triangle - the 9th Lanqiao provincial competition - group C
- Cross platform packaging of QT packaging program
猜你喜欢

Arithmetic and logical operations

Establish excel bookkeeping book through setting context menu

Flutter 新一代圖形渲染器 Impeller

Flutter 新一代图形渲染器 Impeller

Interview Basics
![[no title] Click the classification jump page to display the details](/img/a6/fb302129c06e07b8d1eddeaabc9d2d.png)
[no title] Click the classification jump page to display the details

STL learning notes 0x0001 (container classification)

what is wifi6?

Parameter analysis of open3d material setting

Pytorch deep learning practice_ 11 convolutional neural network
随机推荐
Double click The jar package cannot run the solution
Intel SGX preliminary learning and understanding notes (continuously updated)
Mysql 查询使用\G,列转行
The title bar will be pushed to coincide with the status bar
Excel sets row and column colors according to cell contents
Camera imaging + homography transformation + camera calibration + stereo correction
Knowledge of egg testing -- mock, Supertest, coffee
Sea Level Anomaly 和 Sea Surface Height Anomaly 的区别
The main difference between pointer and reference
QT drawpixmap and DrawImage blur problem
What financial products will benefit during May Day?
Contract lock loophole
IPI interrupt
Introduction to qqueue
数据安全入门产品——数据库审计系统详解
QSslSocket::connectToHostEncrypted: TLS initialization failed
C# ,类库
SQL语句简单优化
js数字大写方法
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