ValueSun 2008-5-31 21:42
发个有用的小脚本
这几天天天坐在电脑前老是脊椎酸,很害怕将来得病哦,于是找来了这个脚本,过一段时间会弹出提醒你休息活动。很适合宅男(7总)用的哦。
(COPY到记事本,选择另存为,保存类型为所有文件,保存为:定时提醒.vbs,运行)
set wshshell = wscript.createobject("wscript.shell")
"对话框标题
alerttitle = "定时提醒"
"提醒内容,vbnewline为换行符
alerttext = vbnewline & vbnewline & "休息一下,活动一下胳膊,脖子,腰部。" & vbnewline & vbnewline & vbnewline & "生命在于运动"& vbnewline & vbnewline & vbnewline
for i = 1 to 12 "12为提醒的次数
wscript.sleep(1000*60*45) "每45分钟提醒一次
msgbox alerttext,4096,alerttitle
ValueSun 2008-6-6 14:51
[quote]原帖由 [i]sfq[/i] 于 2008-6-5 14:11 发表 [url=http://city.pcshow.net/redirect.php?goto=findpost&pid=1805462&ptid=120290][img]http://city.pcshow.net/images/common/back.gif[/img][/url]
谢谢。。我还没到宅男级别。。。。 [/quote]
这么没自信?