HotKeySet("q",Reload) Func Reload() Run("cmd") ;这个可以运行 ;~ Run("D:\tools\AutoIt\script\start.au3") ;脚本自身不行 Func Reload() 这里怎么写? EndFunc
举报
MsgBox(0, '', '当前进程 pid: ' & @AutoItPID & ', 按 q 重启') HotKeySet('q', 'Reload') While 1 Sleep(1000) WEnd Func Reload() ShellExecute(@ScriptFullPath) Exit EndFunc ;==>Reload
afan 发表于 2022-8-30 12:56
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-6 19:29 , Processed in 0.105112 second(s), 19 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.