I'm trying to run this vbs script.
Dim fso, ws, file, APP_PATH
Set ws = WScript.CreateObject("WScript.Shell")
APP_PATH = """C:\Program Files\Internet Explorer\iexplore.exe"""
ws.run APP_PATH
do
set shl = createobject("wscript.shell")
shl.sendkeys "hi"
wscript.sleep 8000
loop
And make the vbs script close itself when the application it opened is closed (in this case it is Internet Explorer). I have little to no experience with vbs script so I don't even understand where to start. Please help!
- Edited by Bill_StewartModerator Saturday, September 05, 2015 9:45 PM Profanity
- Edited by bblazerm Saturday, September 05, 2015 9:47 PM