Wolfshare Posted March 3, 2013 Author Share Posted March 3, 2013 (edited) But using screen positions doesn't result in reliable scripts. If the position of the window or your screen resolution changes then your scripts might cease to work. Debugging is fun then Mh, i have never ussed _FF elements, so really dont know how to get ellements like Home page and etc.. Just watched this http://english.documentation.ff-au3.thorsten-willert.de/ff_functions/_FFClick.php it looks very strange.. Example #include <FF.au3> _ffstart("http://google.com") _FFLoadWait([$iTimeOut = $_FF_LOADWAIT_TIMEOUT[, $bStop = $_FF_LOADWAIT_STOP]]) _FFLinkClick($vSearch[, $sMode = "http://www.autoitscript.com"[, $bLoadWait = True]]) Whats wrong here? After google loads they are not redirecting to autoit.. Edited March 3, 2013 by Wolfshare Link to comment Share on other sites More sharing options...
water Posted March 3, 2013 Share Posted March 3, 2013 What do you mean by "strange"? That's like the documentation of all AutoIt UDFs looks like. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Wolfshare Posted March 3, 2013 Author Share Posted March 3, 2013 Okay water, let's talk here.. Okay, tried this.. Still nothing happens after google are loaded #include <FF.au3> _ffstart("http://google.com") _FFLoadWait([$iTimeOut = $_FF_LOADWAIT_TIMEOUT[, $bStop = $_FF_LOADWAIT_STOP]]) _FFLoadWait(20000) _ffstart("http://www.autoitscript.com") Link to comment Share on other sites More sharing options...
water Posted March 3, 2013 Share Posted March 3, 2013 Should be something like this: #include <FF.au3> _FFStart("http://google.com") If _FFIsConnected() Then Sleep(20000) ; sleep for 20 seconds _FFOpenURL("http://www.autoitscript.com") ; Need to call _FFOpenURL because _FFStart has already started FF Else MsgBox(0,"", "Error occurred on _FFStart") EndIf My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Wolfshare Posted March 3, 2013 Author Share Posted March 3, 2013 Should be something like this: #include <FF.au3> _FFStart("http://google.com") If _FFIsConnected() Then Sleep(20000) ; sleep for 20 seconds _FFOpenURL("http://www.autoitscript.com") ; Need to call _FFOpenURL because _FFStart has already started FF Else MsgBox(0,"", "Error occurred on _FFStart") EndIf Hehe, strange.. It stucks on google still.. Maybe there is problem in firefox or somewhere else.. Its 20.0 version of firefox. Link to comment Share on other sites More sharing options...
water Posted March 3, 2013 Share Posted March 3, 2013 Isn't version 20.0 still a beta version? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Wolfshare Posted March 3, 2013 Author Share Posted March 3, 2013 Ye, updated to latest version still did not work Link to comment Share on other sites More sharing options...
water Posted March 3, 2013 Share Posted March 3, 2013 But the latest stable is 19.0! My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
water Posted March 3, 2013 Share Posted March 3, 2013 Hehe, strange thingDo you talk about FF opening 4242.com? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Wolfshare Posted March 3, 2013 Author Share Posted March 3, 2013 Do you talk about FF opening 4242.com?Water, come to my Teamviewer to then you will be able to see it how it stucks. Link to comment Share on other sites More sharing options...
water Posted March 3, 2013 Share Posted March 3, 2013 I'm on the road at the moment. So no teamviewer. Can you describe your problem in short? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Wolfshare Posted March 3, 2013 Author Share Posted March 3, 2013 When you will back to PC? I tried to downgrade to 19 version of FF then playing this code: #include <FF.au3> _FFStart("http://google.com") If _FFIsConnected() Then Sleep(1000) ; sleep for 20 seconds _FFOpenURL("http://www.autoitscript.com") ; Need to call _FFOpenURL because _FFStart has already started FF Else MsgBox(0,"", "Error occurred on _FFStart") EndIf Its open google, then it sleeps for a while and getting Error occured on _FFstart. Link to comment Share on other sites More sharing options...
water Posted March 3, 2013 Share Posted March 3, 2013 I will test on my PC as soon as I'm home again and post the results. Can you post the output of the Scite console pane (the messages written below the SciTe editor)? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Wolfshare Posted March 3, 2013 Author Share Posted March 3, 2013 I will test on my PC as soon as I'm home again and post the results.Can you post the output of the Scite console pane (the messages written below the SciTe editor)?Sorry, i dont know what it is actually Link to comment Share on other sites More sharing options...
water Posted March 3, 2013 Share Posted March 3, 2013 If you edit your script with the SciTE Editor and press F5 to run the script you get messages from the FF UDF in the lower part of the screen. Can you post this output? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Wolfshare Posted March 3, 2013 Author Share Posted March 3, 2013 >"C:Program FilesAutoIt3SciTE..autoit3.exe" /ErrorStdOut "C:Documents and SettingsAdministratorDesktopNew AutoIt v3 Script.au3"__FFStartProcess: ""C:Program FilesMozilla Firefoxfirefox.exe" -new-window "http://google.com" -repl 4242 _FFConnect: OS: WIN_XP WIN32_NT 2600 Service Pack 3_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 ==> Timeout: TCPConnect Error: 10061_FFConnect ==> General Error: Timeout: Can not connect to FireFox/MozRepl on: 127.0.0.1:4242_FFIsConnected ==> Socket Error: -1 Link to comment Share on other sites More sharing options...
water Posted March 3, 2013 Share Posted March 3, 2013 Just to be sure: You have installed the MozRepl Addon? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Wolfshare Posted March 3, 2013 Author Share Posted March 3, 2013 (edited) It wasnt installed it, installing now. Edited March 3, 2013 by Wolfshare Link to comment Share on other sites More sharing options...
water Posted March 3, 2013 Share Posted March 3, 2013 Looks like the solution for the 4242.com bug can be found Change a line in the FF UDF. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Wolfshare Posted March 3, 2013 Author Share Posted March 3, 2013 (edited) Looks like the solution for the 4242.com bug can be found Change a line in the FF UDF.Thanks, error has been gone, but now it does nothing again after page loads :|Edit: sorry it was Firefox version error.. Edited March 3, 2013 by Wolfshare 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