当前位置:网站首页>热键,界面可视化配置(界面交互)
热键,界面可视化配置(界面交互)
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
边栏推荐
- QT compressed folder
- STL function library
- what is wifi6?
- Membarrier (personal learning and understanding)
- Box collapse and margin collapse
- STD:: String implements split
- Linear sieve method (prime sieve)
- Pavlov and hobbies
- ‘EddiesObservations‘ object has no attribute ‘filled‘
- Escape characters \ splicing of data formats
猜你喜欢
mysql中duplicate key update
C language - Spoof shutdown applet
Generation of straightening body in 3D slicer
Understand the relationship between promise async await
Some pits used by uni
what is wifi6?
Pytorch deep learning practice_ 11 convolutional neural network
Double click The jar package cannot run the solution
(11) Vscode code formatting configuration
[no title] Click the classification jump page to display the details
随机推荐
Simple and basic use of switch and if
selenium預先加載cookie的必要性
Parameter analysis of open3d material setting
Strategy for improving the conversion rate of independent stations | recovering abandoned users
Multiple mainstream SQL queries only take the latest one of the data
shell指令学习1
Generation of straightening body in 3D slicer
js数字大写方法
Quick app bottom navigation bar
使用宝塔+xdebug+vscode远程调试代码
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
Redis经典面试题总结2022
Deep learning object detection
Create process memory management copy_ Mm - processes and threads (IX)
引航成长·匠心赋能——YonMaster开发者培训领航计划全面开启
String class understanding - final is immutable
STD:: String implements split
Introduction to qqueue
Cross platform packaging of QT packaging program