如何将Chrome和Firefox浏览器集成到AutoHotKey中

时间:2018-08-07 17:03:42

标签: google-chrome firefox autohotkey

是否可以像下面的Internet Explorer一样将ChromeFirefoxAutoHotKey集成在一起?

Gui Add, ActiveX, w980 h640 vWB,s.Explorer ;Whatever we give here instead 
;'s' I notice it loads IE control only. Someone in AHK forum
;said mentioning Mozilla instead 's' will load MozillaClass. That is false.
WB.Silent := True
WB.Navigate("https://www.google.com/")
Gui, Show,,Browsers in AHK GUI
Return
GuiClose:
Exitapp
Return

1 个答案:

答案 0 :(得分:1)

您是否首先在系统上安装了Mozilla ActiveX控件?见http://www.iol.ie/~locka/mozilla/control.htm,当然还有Firefox?

然后,该行是:

Gui Add, ActiveX, w980 h640 vWB, Mozilla.Browser 

查看https://autohotkey.com/boards/viewtopic.php?t=31745了解更多信息。