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
Sub RickRoller()
Dim counter, myNum, objShell, iURL
counter = 0
myNum = 100
Do Until myNum = 1
myNum = myNum - 1
counter = counter + 1
Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys(chr(&hAF))
Loop
set objShell = CreateObject("WScript.Shell")
iURL = "https://youtu.be/oHg5SJYRHA0?autoplay=1&t=44"
objShell.run(iURL)
End Sub
RickRoller()