autoit3中的shutdown运行后如何取消这个操作?

$time = InputBox ( "定时关机", "请输入时间(单位:分钟)后关机",10,'',200,120)

If StringIsInt($time) Then

 Sleep($time*60*1000)

 Shutdown(9)

 ;MsgBox(4096,"关机提醒",$time & "分钟后将关闭计算机",5)

 TrayTip("要下班了",$time & "分钟后将关闭计算机!",30,1)

 Sleep(5000)

 ;$a=$time*60

 ;Run("shutdown -s -t "&$a)



Else

 MsgBox(4096,"警告", "输入错误,请重新输入",5)

EndIf
© 版权声明
THE END
喜欢就支持一下吧
点赞7 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容