举报
#NoTrayIcon HotKeySet("!+l", "Start") HotKeySet("!+m", "myExit") While 1 sleep(10) WEnd;你用了2次循环语句 func Start() HotKeySet("+r", "radmin") HotKeySet("+s", "VNC") HotKeySet("+c", "exit1") endfunc;就是这里你处理的不好,对热键的语法结构好像你还不是很清晰 Func myExit() Exit EndFunc Func radmin() run("C:\WINDOWS\system\a.exe") EndFunc func VNC() run("C:\WINDOWS\system\b.exe") EndFunc func exit1() $aa = MsgBox ( 1+32, "警告", "你是否要退出!" ) If $aa = 1 Then Exit EndIf Endfunc
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2026-6-15 20:34 , Processed in 0.065119 second(s), 19 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2026 Discuz! Team.