water Posted April 18, 2013 Share Posted April 18, 2013 _FFTableWriteToArray? 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 Link to comment Share on other sites More sharing options...
atzoref Posted April 18, 2013 Share Posted April 18, 2013 (edited) Hi,I still don't understand which functions do I need in order to implement all these set of IE functions:$oIE = _IECreate("C:\atp.html", 1, 0) Local $oTable = _IETableGetCollection($oIE, 0) Local $aTableData = _IETableWriteToArray($oTable, True) $iIndex = _ArraySearch($aTableData, $strField, 0, 0, 0, 0, 1, 0) $strValue = $aTableData[$iIndex][1]When I'm trying to open an exist html on "C:" like this:_FFStart("C:atp.html", "default", 1, False, "127.0.0.1", 4242)I get this error:_FFStart ==> Invalid data type: (URL) $sURL: http://C:atp.htmlHow can I make it works? why there is "http://"Thanks Edited April 18, 2013 by atzoref Link to comment Share on other sites More sharing options...
water Posted April 18, 2013 Share Posted April 18, 2013 (edited) Use "file:///C:atp.html" Edited April 18, 2013 by water 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 Link to comment Share on other sites More sharing options...
water Posted April 18, 2013 Share Posted April 18, 2013 Examples for the FF UDF can be found here. 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 Link to comment Share on other sites More sharing options...
atzoref Posted April 21, 2013 Share Posted April 21, 2013 Thanks, _FFStart("file:///C:atp.html")It works and open the FF with the specific HTML which I want too.But there is another problem, after I did it it takes ~30 seconds he move to the next line.There is Timeout for some reason.Why it happens?I just want to open this HTML and read Table Data/Text from it.This is the log I get:__FFStartProcess: ""C:Program Files (x86)Mozilla Firefoxfirefox.exe" -new-window "file:///C:atp.html" "-repl 4242 "_FFConnect: OS: WIN_7 WIN32_NT 7601 Service Pack 1_FFConnect: AutoIt: 3.3.8.0_FFConnect: FF.au3: 0.6.0.1b-8_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+>10:10:33 AutoIT3.exe ended.rc:0>Exit code: 0 Time: 72.165Thanks. Link to comment Share on other sites More sharing options...
water Posted April 21, 2013 Share Posted April 21, 2013 Did you start the MozRepl addon? Which version of FF do you run? 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 Link to comment Share on other sites More sharing options...
atzoref Posted April 21, 2013 Share Posted April 21, 2013 (edited) The last one: 20.0.1 How do I start the "MozRepl addon"? Edited April 21, 2013 by atzoref Link to comment Share on other sites More sharing options...
water Posted April 21, 2013 Share Posted April 21, 2013 There seems to be a problem with MozRepl and the latest FF version.Please download the current version from Github. 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 Link to comment Share on other sites More sharing options...
atzoref Posted April 21, 2013 Share Posted April 21, 2013 There seems to be a problem with MozRepl and the latest FF version.Please download the current version from Github.I download some files there, but where should I put it? And how I make it works? Link to comment Share on other sites More sharing options...
water Posted April 21, 2013 Share Posted April 21, 2013 Don't know. I got the links from the German AutoIt forum. You could try this link from the first post. 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 Link to comment Share on other sites More sharing options...
atzoref Posted April 21, 2013 Share Posted April 21, 2013 (edited) I install the "MozRepl" Add-On from the FireFox site and install it, make it start and allow outside connection and verify the port is 4242. But nothing help I will try to install version 19 Edited April 21, 2013 by atzoref Link to comment Share on other sites More sharing options...
atzoref Posted April 21, 2013 Share Posted April 21, 2013 I install the "MozRepl" Add-On from the FireFox site and install it, make it start and allow outside connection and verify the port is 4242.But nothing help I will try to install version 19Even on 19 not works Link to comment Share on other sites More sharing options...
water Posted April 21, 2013 Share Posted April 21, 2013 I'm sorry that it doesn't work. That was all the information I can provide.The review on the Mozilla addon page show that it should work with version 1.1.1 of the addon. 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 Link to comment Share on other sites More sharing options...
Danp2 Posted April 21, 2013 Share Posted April 21, 2013 I install the "MozRepl" Add-On from the FireFox site and install it, make it start and allow outside connection and verify the port is 4242.But nothing help I will try to install version 19Make sure that you install the 1.1.1 preview, which is known to fix the issue. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
atzoref Posted April 23, 2013 Share Posted April 23, 2013 Where I put this file? How do I use this? Thanks Link to comment Share on other sites More sharing options...
water Posted April 23, 2013 Share Posted April 23, 2013 Just click on the link and the XPI file will be installed by firefox like any other addon. 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 Link to comment Share on other sites More sharing options...
atzoref Posted April 23, 2013 Share Posted April 23, 2013 Make sure that you install the 1.1.1 preview, which is known to fix the issue.I have been installed it, but I still get the TimeOut error /: Link to comment Share on other sites More sharing options...
water Posted April 23, 2013 Share Posted April 23, 2013 Sorry, then I have run out of ideas 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 Link to comment Share on other sites More sharing options...
RichardL Posted May 10, 2013 Share Posted May 10, 2013 (edited) @atzoref, On the Github page https://github.com/bard/mozrepl/wiki see 'starting the repl' and 'tutorial' have you tried these made contact and successfully entered a couple of commands? When I was at this stage it did not work, because on my work computers 4242 was already allocated, had to find that with netstat (google it). I can't remember the netstat options now. Edited May 10, 2013 by RichardL Link to comment Share on other sites More sharing options...
doinguyen Posted May 20, 2013 Share Posted May 20, 2013 Dear Im a newbie, just learn autoit some week. I want code simple tool login ( just login by user & pass ) web with FF but i have issue: cant connect Mozrepl . Pls help me. So thanks #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 user FF 20 and started MozRepl Error: _FFConnect: OS: WIN_7 WIN32_NT 7600 _FFConnect: AutoIt: 3.3.8.1 _FFConnect: FF.au3: 0.6.0.1b-3 _FFConnect: IP: 127.0.0.1 _FFConnect: Port: 4242 _FFConnect: Delay: 2ms _FFConnect: Socket: 556 __FFWaitForRepl ==> Timeout: 10010ms > 10000ms $iTimeOut >Exit code: 0 Time: 136.321 I using MozRepl 1.1.2 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