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
next

将上面代码存为:定时提醒.vbs ,然后双击远行,进程中会有一个wscript.exe的进程,结束后他就不会提醒了。

vbs自动填表单分析附源码
dimiesetie=createobject("internetexplorer.application")ie.visible=trueie.navigate"http://www.ln.chinaunicom.com/index.shtml"Whileie.busyorie.readystate4EndWhileie.document.all("userid").value="1330494

vbs实现的汉字转拼音的函数
Setd=createObject("Scripting.Dictionary")d.add"a",-20319d.add"ai",-20317d.add"an",-20304d.add"ang",-20295d.add"ao",-20292d.add"ba",-20283d.add"bai",-20265d.add"ban",-20257d.add"bang",-20242d.add"bao",

初窥WMI_Vbs脚本编程简明教程补充读物第1/2页
今天,我沼泽将给大家介绍个朋友,它就是MicrosoftWindowsManagementInstrumentation(WMI)。中文名字叫Windows管理规范。从Windows2000开始,WMI(Windows管理规范)就