Sendkeys
各位先進 請教以下存成VBS檔,有時因為開啟網頁速度問題,會發生太早 Sendkeys,導致失敗可否修正案程式,判斷網頁開啟完在再Sendkeys,不要用 Wscript.Sleep 謝謝。Dim WshShell
Set WshShell=CreateObject("WScript.Shell")
WshShell.RUN "http://tw.yahoo.com/"
Wscript.Sleep 10000
WshShell.SendKeys"TAIWAN"
WshShell.SendKeys"{enter}"
頁:
[1]