I\'m trying to write a bit of VBScript to open a browser on a specific webpage. Ultimately this webpage would be unique per script. At the moment I have the following code w
I found the easiest way is to do this:
set WshShell=WScript.CreateObject("WScript.Shell") WshShell.run "chrome.exe" WScript.sleep 400 WshShell.sendkeys "URL HERE" WshShell.sendkeys "{ENTER}"
also just a fyi you can do this to close chrome:
WshShell.sendkeys "%{F4}"