Thanks! Had to do some small adjustments, but this works like a charm:
Dim shell
Set Shell = CreateObject("WScript.Shell")
Shell.Run """" & "microsoft-edge:" & URL & """"
But there are multiple function in my .vbs file that contains lines like this:
Chrome "https://domain.my.salesforce.com/apex/ScreenPopView?nr=&cID=" + Params.ParamByName("cID") + "&crpnr=" + NR
And that Chrome is connected and runs by the Sub Chrome(URL). Do you mean I should replace that...
So like this?:
Sub Chrome(URL)
'----------------------------------------------------------------------
' Purpose: Launch Chrome
' Arguments: <URL>
'----------------------------------------------------------------------
if (ubound(split(URL," ")) = 0) then
Start-Process -FilePath "msedge"...
Currently I am using this script to open links in Chrome:
Sub Chrome(URL)
'----------------------------------------------------------------------
' Purpose: Launch Chrome
' Arguments: <URL>
'----------------------------------------------------------------------
if (ubound(split(URL," ")) =...