set WS=CreateObject("wscript.shell") set fso=wscript.createobject("scripting.filesystemobject") set ts=fso.opentextfile("C:Documents and Settingsuida3060Desktop2.txt",1,ture) WS.run"""notepad""" do while ts.atendofstream<>true line=ts.readline wscript.Sleep 2000 sendkeys("line") loop |