15分鐘提醒一次,珍惜時(shí)間啊
保存為.vbs
復(fù)制代碼 代碼如下:
today=Date()
years=DatePart("yyyy",today)-1981-1
Days=DatePart("y",today)+25
If DatePart("m",today)=12 Then
if DatePart("d",today)>=9 Then
MsgBox "ok"
Years=Years+1
Days=DatePart("d",Date)-9
end if
end If
MsgBox "AT ^" Years "C!"Days"D^ SPACE-TIME!",4096+64,"腳本之家提示"
set wshshell=CreateObject("WScript.Shell")
Do
WScript.Sleep 900000
getstr=MsgBox("15分鐘過去了!",4097,"......!")
If getstr=vbCancel Then
wshshell.Popup "Bye-Bye!",2,"......!"
WScript.Quit
End If
Loop
您可能感興趣的文章:- js實(shí)時(shí)計(jì)算字?jǐn)?shù)提醒的文本框
- javascript 日歷提醒系統(tǒng)( 兼容所有瀏覽器 )
- javascript網(wǎng)頁關(guān)閉時(shí)提醒效果腳本
- js鏈接確認(rèn)提醒功能
- js實(shí)現(xiàn)的定時(shí)關(guān)閉頁面或定時(shí)提醒效果代碼
- js 實(shí)現(xiàn)在離開頁面時(shí)提醒未保存的信息(減少用戶重復(fù)操作)