Jump to content

Recommended Posts

Posted

getting error with this example:

#Include <FF.au3>

; trying to connect to a running FireFox with MozRepl on
If _FFConnect(Default, Default, 3000) Then
    ; open a page
    _FFOpenURL("http://www.google.com")
    Sleep(3000)
    ; disconnect from FireFox
    If _FFDisConnect() Then MsgBox(64, "", "Disconnected from FireFox!")
Else
    MsgBox(64, "", "Can't connect to FireFox!")
EndIf

_FFConnect: OS:    WIN_7 WIN32_NT 7601 Service Pack 1
_FFConnect: AutoIt:    3.3.12.0
_FFConnect: FF.au3:    0.6.0.1b-10
_FFConnect: IP:    127.0.0.1
_FFConnect: Port:    4242
_FFConnect: Delay:     2ms
_FFConnect ==> Timeout: TCPConnect Error: 10061
_FFConnect ==> General Error: Timeout: Can not connect to FireFox/MozRepl on: 127.0.0.1:4242

do i need to edit the host file? or edit network settings on FF???

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

Posted

Is MozRepl installed and activated?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted (edited)
  On 7/16/2014 at 11:04 AM, water said:

Is MozRepl installed and activated?

I have mozrep add on in FF but i dont know if it is running, how do i check?

edit:mozrep addon is enabled...

Edited by 232showtime

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

Posted

Which version of MozRepl do you run?

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

 its working now thanks, but do i need to start mozrep everytime I open FF???

ill get to that... i still need to learn and understand a lot of codes graduated.gif

Correct answer, learn to walk before you take on that marathon.

Posted

No. I activated it once and it is running just fine now.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted (edited)

You can always go to

about:config

and check for:

extensions.mozrepl.autoStart = true

Edited by careca
  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

  • 5 months later...
Posted (edited)

I see there are a lot of troubles with FF.au3 file together with MozRepl. My situation is not an exception. By the way, if there is such situation with many similar problems and similar topics about them, is it better to create another new topic or add new problem to the old topic? (On different forums rule is different, so I ask about it).

Yesterday I installed newest version of Firefox and MozRepl 1.1.2. In Menu-Add-ons on Firefox, the MozRepl is switched on. So I begun to write a simple code like this one:

#include <FF.au3>
_FFStart("https://www.google.com") ; Line works fine, Google are loaded.

If _FFIsConnected() Then
    _FFOpenURL("https://www.autoitscript.com/site/") ; Nothing happens. Firefox has still Google loaded.
EndIf

_FFStart line works fine in every time, but any lines below are ignored, no matter there is _FFOpenURL or _FFObjGet, etc. Could You plese help me?

During execution of above code I receive the following information in the window of SciTE editor:

  Quote

 

>"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:UsersKrzysztofDesktopa.au3" /UserParams    

+>11:27:51 Starting AutoIt3Wrapper v.14.801.2025.0 SciTE v.3.4.4.0   Keyboard:00000415  OS:WIN_VISTA/Service Pack 2  CPU:X64 OS:X86    Environment(Language:0415)
+>         SciTEDir => C:Program FilesAutoIt3SciTE   UserDir => C:UsersKrzysztofAppDataLocalAutoIt v3SciTEAutoIt3Wrapper   SCITE_USERHOME => C:UsersKrzysztofAppDataLocalAutoIt v3SciTE 
>Running AU3Check (3.3.12.0)  from:C:Program FilesAutoIt3  input:C:UsersKrzysztofDesktopa.au3
+>11:27:51 AU3Check ended.rc:0
>Running:(3.3.12.0):C:Program FilesAutoIt3autoit3.exe "C:UsersKrzysztofDesktopa.au3"    
--> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop
__FFStartProcess: ""C:Program FilesMozilla Firefoxfirefox.exe" -new-window "https://www.google.com"  "-repl 4242 "
_FFConnect: OS: WIN_VISTA WIN32_NT 6002 Service Pack 2
_FFConnect: AutoIt: 3.3.12.0
_FFConnect: FF.au3: 0.6.0.1b-10
_FFConnect: IP: 127.0.0.1
_FFConnect: Port: 4242
_FFConnect: Delay: 2ms
 
Edited by Krzysztof

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...