不要做一个浮躁的人。这些基础知识,建议你还是看看基础教程吧。在《深入挖掘Windows脚本技术》末尾给出的第一个链接就是《Windows脚本技术》,在里面会有详细的讲解.
http://download.microsoft.com/download/winscript56/Install/5.6/W982KMe/CN/scd56chs.exe
下面的代码就是一个无限循环的例子:
do
wscript.sleep 5000
WshShell.SendKeys "^s"
loop
还是建议你去看看《Windows脚本技术》。
Don't be a restless person. For these basic knowledge, it is suggested that you still read the basic tutorials. The first link given at the end of "In-depth Exploration of Windows Script Technology" is "Windows Script Technology", and there will be detailed explanations in it.
http://download.microsoft.com/download/winscript56/Install/5.6/W982KMe/CN/scd56chs.exe
The following code is an example of an infinite loop:
do
wscript.sleep 5000
WshShell.SendKeys "^s"
loop
It is still suggested that you go and read "Windows Script Technology".