Danp2 Posted February 22, 2015 Posted February 22, 2015 (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 April 21, 2018 by Danp2 aa2zz6, Digisoul, robertocm and 1 other 4 Latest Webdriver UDF Release Webdriver Wiki FAQs
water Posted February 22, 2015 Posted February 22, 2015 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
Danp2 Posted February 22, 2015 Author Posted February 22, 2015 You would have to ask him. He hasn't been active in a while so it just made sense to start a new thread where it could be maintained. Stilgar can pick up where we leave off any time he likes. Latest Webdriver UDF Release Webdriver Wiki FAQs
water Posted February 22, 2015 Posted February 22, 2015 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
MarkLee Posted March 15, 2015 Posted March 15, 2015 (edited) Hi.I trying submit from recaptcha form. Please help me.This is my code:<snip>Thank. Edited March 15, 2015 by Melba23 Removed code
Moderators Melba23 Posted March 15, 2015 Moderators Posted March 15, 2015 (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. See you soon with a legitimate question I hope. M23 Edited March 15, 2015 by Melba23 Cut'n'paste error! 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
MarkLee Posted March 17, 2015 Posted March 17, 2015 How to check connection status a site ? sr . My bad English.
wowxxoo Posted April 2, 2015 Posted April 2, 2015 #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
Danp2 Posted April 2, 2015 Author Posted April 2, 2015 Do you have the Mozrepl addon installed and started? Post the details from the Scite output window. Latest Webdriver UDF Release Webdriver Wiki FAQs
nitekram Posted April 8, 2015 Posted April 8, 2015 (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 April 8, 2015 by nitekram 2¢ 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." 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
Danp2 Posted April 8, 2015 Author Posted April 8, 2015 You have to actually start the MozRepl add-in. Look for the menu entry under the Tools menu. Latest Webdriver UDF Release Webdriver Wiki FAQs
nitekram Posted April 8, 2015 Posted April 8, 2015 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? 2¢ 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." 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
Danp2 Posted April 8, 2015 Author Posted April 8, 2015 You can find some examples on this site and on the net (use your favorite search engine to find them). If you need help, post here and hopefully someone will jump in and offer assistance. Latest Webdriver UDF Release Webdriver Wiki FAQs
wowxxoo Posted April 9, 2015 Posted April 9, 2015 __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!!!
Danp2 Posted April 9, 2015 Author Posted April 9, 2015 Looks like you don't have the MozRepl add-in installed / started. Latest Webdriver UDF Release Webdriver Wiki FAQs
GoldenMike Posted May 4, 2015 Posted May 4, 2015 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!") EndIfand 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 $iTimeOutIs 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
Danp2 Posted May 4, 2015 Author Posted May 4, 2015 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 commandtelnet localhost 4242If it responds with "Connect failed", then Mozrepl isn't functioning properly. Latest Webdriver UDF Release Webdriver Wiki FAQs
GoldenMike Posted May 4, 2015 Posted May 4, 2015 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?
GoldenMike Posted May 5, 2015 Posted May 5, 2015 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.
Danp2 Posted May 5, 2015 Author Posted May 5, 2015 As I suspected, something isn't working correctly. You should see the message "Welcome to MozRepl" and be presented with the "repl" prompt. It's possible that something else is already using port 4242. You can see which app has the port open with the commandnetstat -a -n -o -p tcp -b Latest Webdriver UDF Release Webdriver Wiki FAQs
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