I found this code on google:
Set objShell = WScript.CreateObject( "WScript.Shell" )
Set objShell = Nothing
shell """C:\Program Files\Mozilla Firefox\firefox.exe"""
I made a bot in Lua, and I wanted it to auto open firefox on a certain page whenever _ happens, and Lua can't do it. Is it possible with VBS?
- Moved by Mike Feng Monday, August 29, 2011 1:15 PM VBS (From:Visual Basic General)
I would post your question to The Official Scripting Guys Forum!.
Paul ~~~~ Microsoft MVP (Visual Basic)
Hey there HHRobloxYou're on the right path. Why not try this
dim wshshell Set wshshell = WScript.CreateObject("WScript.Shell") wshshell.run """C:\Program Files\Mozilla Firefox\firefox.exe"" http://social.technet.microsoft.com/Forums/en/ITCG/threads",1,False Set wshshell = Nothing wscript.quit
Naturally change the URL
- Proposed as answer by JuliusPIV Wednesday, September 14, 2011 1:34 PM