This is an example I want to convert to Chrome browser as some websites no longer support IE.
(This one does still work though)
Code: Select all
#SingleInstance Force
Gui Add, ActiveX, w980 h640 vWB, Shell.Explorer
WB.Silent := True
WB.Navigate("https://autohotkey.com/")
Gui, Show,,Browsers in AHK GUI
Return
GuiClose:
Exitapp
Return
Code: Select all
#SingleInstance Force
#Include Chrome.ahk
ChromeInst := new Chrome()
PageInst := ChromeInst.GetPage()
PageInst.Call("Page.navigate", {"url": "https://autohotkey.com/"})
PageInst.WaitForLoad()
Return