Dim WshShell
set wshshell=wscript.createobject("wscript.shell")
WshShell.Run "notepad"
WScript.Sleep 2000
WshShell.AppActivate "无标题 - 记事本"
wshshell.sendkeys "hello,welcome1n"
set wshshell=wscript.createobject("wscript.shell")
WshShell.Run "notepad"
WScript.Sleep 2000
WshShell.AppActivate "无标题 - 记事本"
wshshell.sendkeys "hello,welcome1n"
