如何将Internet Explorer更改为Firefox?
#include <IE.au3>
Func _CreateIE()
If Not IsObj($oIE) Or Not ProcessExists("iexplore.exe") Then
$oIE = _IECreate($sURL, 0)
EndIf
EndFunc ;==>_CreateIE
答案 0 :(得分:1)
要打开Firefox浏览器,以下本机AutoIt代码就足够了:
local $url="www.google.com"
$off=Run(@ProgramFilesDir & "\Mozilla Firefox\firefox.exe " & $url, "", @SW_MAXIMIZE)
要获得完全支持,您需要user defined function FF.au3,而mozrepl http://english.documentation.ff-au3.thorsten-willert.de则需要加载项https://www.autoitscript.com/wiki/User_Defined_Functions。
别忘了启动MozRepl。 FF菜单:附加/菜单或检查&#34;启动时激活&#34;。
然后你可以这样做:
#Include <FF.au3>
_FFStart([$sURL = "about:blank"[, $sProfile = "default"[, $iMode = 1[, $bHide = False[, $IP = "127.0.0.1"[, $iPort = 4242]]]]]])
参考文献:
https://www.autoitscript.com/forum/topic/95595-ffau3-v0601b-10/
https://github.com/bard/mozrepl/wiki
https://manifoldcf.apache.org/release/release-2.5/en_US/how-to-build-and-deploy.html#Building+and+running+the+FileNet+connector
https://apache.googlesource.com/manifoldcf/+/CONNECTORS-474/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java