Gav*_*vin 2 vbscript autohotkey msgbox
我有一个小脚本运行(基本上触发一个msgbox告诉人们他们的帐户密码即将过期).
我希望它在说30分钟后关闭自己,但无法正确理解它,任何人都可以帮忙吗?
下面是调用msgbox的部分
if (daysLeft < warningDays) and (daysLeft > -1) then
Msgbox "Your Password Expires in " & daysLeft & " day(s)" & " at " & whenPasswordExpires & chr(13) & chr(13) & "Please ensure that you change your password before" & chr(13) & "its expiry time to prevent any disruption of service.", 4144, "PASSWORD EXPIRATION WARNING!"
End if
-
加文.
对象的Popup()方法WShell可以在指定的秒数后超时.这是一个应该在30分钟后消失的例子.
CreateObject("WScript.Shell").Popup "Hello!", 1800, "Title"
| 归档时间: | 
 | 
| 查看次数: | 23497 次 | 
| 最近记录: |