我有一个运行的小脚本(基本上会触发一个 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
--
加文。