tommytx Posted May 19, 2018 Share Posted May 19, 2018 #Include <FF.au3> _FFStart("http://beachrealty.com") If _FFIsConnected() Then MsgBox(0,"","Connected Now!") If _FFIsConnected() Then Sleep(2000) _FFAction("presentationmode", True) Sleep(2000) _FFOpenURL("http://www.google.com") Sleep(2000) _FFAction("back") _FFAction("presentationmode", False) Sleep(2000) _FFOpenURL("chrome:bookmarks") Sleep(2000) _FFAction("alert", "Bye bye ...") _FFQuit() Else _FFAction("alert", "All Done ...") EndIf The above code used to work fine but now its giving the following error.. can anyone see what might be wrong.. do i need to remove and replace my copy of FF since its calling out the registry.. any advice would be greatly appreciated. Below is the errors being callled out when run.. >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "G:\Important_2017\!__all_snips\New folder\ff-start.au3" __FFStartProcess ==> General Error: Error reading registry entry for FireFox. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Mozilla Firefox\*CurrentVersion*\Main\PathToExe Error from RegRead: 1 _FFConnect: OS: WIN_10 WIN32_NT 16299 _FFConnect: AutoIt: 3.3.14.2 _FFConnect: FF.au3: 0.6.0.2b _FFConnect: IP: 127.0.0.1 _FFConnect: Port: 4242 _FFConnect: Delay: 2ms _FFConnect ==> Timeout: TCPConnect Error: 10060 _FFConnect ==> General Error: Timeout: Can not connect to FireFox/MozRepl on: 127.0.0.1:4242 _FFIsConnected ==> Socket Error: -1 _FFIsConnected ==> Socket Error: -1 __FFSend ==> Socket Error "G:\Important_2017\!__all_snips\New folder\FF.au3" (2365) : ==> Variable used without being declared.: SetError(__FFError($sFuncName, $_FF_ERROR_RetValue, $sRet)) SetError(__FFError($sFuncName, $_FF_ERROR_RetValue, ^ ERROR >Exit code: 1 Time: 61.86 Link to comment Share on other sites More sharing options...
Developers Jos Posted May 19, 2018 Developers Share Posted May 19, 2018 (edited) Search is a beautiful means of figuring stuff out yourself. https://www.autoitscript.com/forum/search/?&q="Can not connect to FireFox/MozRepl" It even returns the similar question you had 2 years ago only the reason was different! This time read the third returned post. Specifically this post: Jos Edited May 19, 2018 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
tommytx Posted May 19, 2018 Author Share Posted May 19, 2018 I am getting a MozRepl will not work on your version of firefox.. should it work on the latest version of FF? appears that the reason its failing is that i do not have a good copy of MozRepl on board....does that make sense? Link to comment Share on other sites More sharing options...
Developers Jos Posted May 19, 2018 Developers Share Posted May 19, 2018 (edited) Did you read the text in the provide github link in that post? Jos Edited May 19, 2018 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now