Jump to content

FF wont start and run.. used to work.

Recommended Posts

#Include <FF.au3>
If _FFIsConnected() Then MsgBox(0,"","Connected Now!")
If _FFIsConnected() Then
    _FFAction("presentationmode", True)
    _FFAction("presentationmode", False)
    _FFAction("alert", "Bye bye ...")
    _FFAction("alert", "All Done ...")

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:
_FFConnect: FF.au3:
_FFConnect: IP:
_FFConnect: Port:   4242
_FFConnect: Delay:  2ms
_FFConnect ==> Timeout: TCPConnect Error: 10060
_FFConnect ==> General Error: Timeout: Can not connect to FireFox/MozRepl on:
_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


Share this post

Link to post
Share on other sites
Posted (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: 



Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
Live for the present,
Dream of the future,
Learn from the past.

Share this post

Link to post
Share on other sites

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?


Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now