Schadenfroh
Elite Member
writing an automated install for quicktime alternative and im making a vbscript to go thru the intall and not install WMP classic
always gives me an error that halts the program and says that line 12, WshShell.SendKeys "{SPACE}", is invalid
i thought that WshShell.SendKeys "{SPACE}" was the correct way of making a spacebar hit, right?
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run ("quicktime.exe")
WScript.Sleep 1500
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "{DOWN}"
WScript.Sleep 1000
WshShell.SendKeys "{DOWN}"
WScript.Sleep 1000
WshShell.SendKeys "{SPACE}"
always gives me an error that halts the program and says that line 12, WshShell.SendKeys "{SPACE}", is invalid
i thought that WshShell.SendKeys "{SPACE}" was the correct way of making a spacebar hit, right?