Tuesday, February 7, 2017

VBScript Open URL in Default Browser

Option Explicit

Dim WscriptSchell
Set WscriptSchell = CreateObject("WScript.Shell")

WscriptSchell.Run "https://google.com", 9

4 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. how do i close the tab later. I mean i have multiple tabs already in chrome and this adds to new tab. and I want to close this tab

    ReplyDelete