您需要 登录 才可以下载或查看,没有账号?加入
举报
#Include <Constants.au3> #NoTrayIcon Opt("TrayMenuMode",1) ; 默认菜单项目 (脚本暂停中/退出)(Script Paused/Exit) 将不会显示. $exititem = TrayCreateItem("Exit") TraySetState() $start = 0 While 1 $msg = TrayGetMsg() If $msg = $exititem Then ExitLoop $diff = TimerDiff($start) If $diff > 1000 Then $num = -Random(0,100,1) ; negative to use ordinal numbering ToolTip("#icon=" & $num) TraySetIcon("Shell32.dll",$num) $start = TimerInit() EndIF WEnd Exit
Opt("TrayMenuMode",1) $exit = TrayCreateItem("退出脚本") While 1 If TrayGetMsg() = $exit Then ExitLoop Wend
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-25 08:46 , Processed in 0.091209 second(s), 20 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.