What i am trying to do here is this... i want to be able to run a script .. using wshshell.run
I need it to go to C:\Program Files\Microsoft Office\OFFICE11\WINWORD.exe
and open that file .. there word will come up
at that point i need it to pause for 10 seconds and then send keys to the screen.
i made this
set wshShell = WScript.CreateObject("WScript.Shell")
wshShell.Run "C:\Program Files\Microsoft Office\OFFICE11\WINWORD.exe", 1, False
winexist = false
do while winexist = false
winexist = wshShell.AppActivate("Document1 - Microsoft Word")
what am i doing wrong it keeps giving me errors and telling me that wshshell.run is not a valid blah blah.. or it just dosent do anything can anyone help?