Jump to content

Recommended Posts

Posted (edited)
Spoiler

Important Notice

Key technologies upon which MozRepl depends will be retired from the Mozilla platform in November 2017. If you are relying on MozRepl, please investigate migration paths. The last known compatible version is Firefox 54.

UDF to control FireFox via MozRepl:

 FF_V0.6.0.1b-15_au3

Change Log:

Spoiler

    V0.6.0.1b-15 (by Danp2)
    - Fixed: Restored declaration of return variable in _FFCmd
    - Fixed: SelectWin check of individual tabs by Title

    V0.6.0.1b-14 (by Danp2)    
    - Changed: _FFWindowOpen to allow private browsing    
    - Changed: _FFWindowGetHandle to improve functionality    
    - Fixed: _FFTableWriteToArray    
    - Fixed: __FFStartProcess    
    - Fixed: __FFWaitForRepl
    
    V0.6.0.1b-13    
    - Fixed: Changed: CLASS:MozillaUIWindowClass to CLASS:MozillaWindowClass
    
    V0.6.0.1b-12    
    - Fixed: error in __FFIsIp

Original thread: http://www.autoitscript.com/forum/topic/95595-ffau3-v0601b-10/

 

Edited by Danp2
Posted

Does Stilgar no longer support the FF UDF?

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Posted

I see. He hasn't been active on the german forum since Mid-December too.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

  • 3 weeks later...
Posted (edited)

Hi.

I trying submit from recaptcha form. Please help me.

This is my code:

<snip>

Thank.

Edited by Melba23
Removed code
  • Moderators
Posted (edited)

MarkLee,

Welcome to the AutoIt forum. :)

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now (there is also a link at bottom right of each page) - particularly the bit about not discussing Bypassing of security measures - log-in and security dialogs, CAPTCHAs, anti-bot agents, software activation, etc - and then you will understand why you will get no help. :naughty:

See you soon with a legitimate question I hope. :)

M23

Edited by Melba23
Cut'n'paste error!

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

  • 3 weeks later...
Posted

#Include <FF.au3>

; trying to connect to a running FireFox with MozRepl on
If _FFConnect(Default, Default, 3000) Then
    ; open a page
    _FFOpenURL("http://ff-au3-example.thorsten-willert.de/")
    Sleep(3000)
    ; disconnect from FireFox
    If _FFDisConnect() Then MsgBox(64, "", "Disconnected from FireFox!")
Else
    MsgBox(64, "", "Can't connect to FireFox!")
EndIf

i test above code,and found that erro on my dell laptop.

Can't connect to FireFox!

my firefox is 36.0.4   win7 64bit ff.au3 is   V0.6.0.1b-14

Posted (edited)

Is there any examples of using this FF.Au3 UDF, as I am unable to find it in the help file? It is also not part of the includes, so I had to download it.

 

EDIT

I have tried the following code after adding the addon - https://github.com/bard/mozrepl/wiki-->> https://addons.mozilla.org/en-US/firefox/addon/mozrepl/

#Include <FF.au3>

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

I get the message that it Can't connect to Firefox - yet it is open and able to access google.com, no not a network issue.

EDIT 2

The output form scite:

_FFConnect: OS:    WIN_XP WIN32_NT 2600 Service Pack 3
_FFConnect: AutoIt:    3.3.12.0
_FFConnect: FF.au3:    0.6.0.1b-14
_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

EDIT 3

I found this on the OP, so I will take a look

Edited by nitekram

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Posted

Sorry, did not know an addon needed to be started, but now that I have in on 'activate on startup', I assume that it will remain started from now on.

I was able to get the code to work - thanks.

I assume that the only examples are on the website from the creator - it is a slow server on that end, so it takes a while just to get the site. Might be that I am in the USA?

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Posted

__FFStartProcess: ""E:\Program Files (x86)\Mozilla Firefox\firefox.exe" -new-window "http://www.baidu.com"  "-repl 4242 "
_FFConnect: OS: WIN_7 WIN32_NT 7600 
_FFConnect: AutoIt: 3.3.11.3
_FFConnect: FF.au3: 0.6.0.1b-14
_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
_FFIsConnected ==> Socket Error: -1

I don't know how to solve this problem.anyone help?thanks very much!!! :ILA3:

  • 4 weeks later...
Posted

Hi,

I've been using autoitscript for years with IE and have had great success, but I need to use it on FF for a project I am working on. I have MozRepl installed and it is running.  I am using this basic script to test it out.

#include <ff.au3>

If _FFConnect(Default, Default, 3000) Then
    ; open a page
    _FFOpenURL("http://ff-au3-example.thorsten-willert.de/")
    Sleep(3000)
    ; disconnect from FireFox
    If _FFDisConnect() Then MsgBox(64, "", "Disconnected from FireFox!")
Else
    MsgBox(64, "", "Can't connect to FireFox!")
EndIf

and i Keep getting an error message

_FFConnect: OS: WIN_81 WIN32_NT 9600 
_FFConnect: AutoIt: 3.3.12.0
_FFConnect: FF.au3: 0.6.0.1b-14
_FFConnect: IP: 127.0.0.1
_FFConnect: Port:   4242
_FFConnect: Delay:  2ms
_FFConnect: Socket:     612

__FFWaitForRepl ==> Timeout: 10012ms > 10000ms $iTimeOut

Is there something that could be interfering with running MozRepl where it is not forming a connecting to the autoitscript?

I'm running Windows 8.1 64bit, w/ the latest version of AutoIt.

Any help would be appreciated.

 

Thank you,

 

Mike

Posted

I know that you stated Mozrepl was running, but are you sure? Look under Tools > Mozrepl. Does it say Start or Stop? Also, make sure Activate on Startup is enabled.

You can try connecting directly to Mozrepl by dropping to a command prompt and entering the command

telnet localhost 4242

If it responds with "Connect failed", then Mozrepl isn't functioning properly.

Posted

Danp2, 

Mozrepl, is definitely running. It shows "Stop" on the menu, as if the program is already running. Also the check box next to "activate on startup is enabled. I tried your telnet suggestion and it did not work. I have attached a screen shot of what happened. Do you have any idea why telnet would not be recognized? Am i in the wrong screen?

CommandPrompt.jpg

Posted

Danp2,

I looked into this further, and realized I have to enable telnet under windows features. I did this, and initially the command prompt reads that it is connection to server, but I end up with this screen.

CommandPrompt2.jpg

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
×
×
  • Create New...