Marcoluca56 Posted October 12, 2012 Share Posted October 12, 2012 Hi guys, I would like to know how I can impose on Autoit to wait for the page's total load. I would that sailed for example "www.google.it" and before the rest of the code, I would be waiting for the page to be fully charged. How can I do? thanks in advance Link to comment Share on other sites More sharing options...
water Posted October 12, 2012 Share Posted October 12, 2012 Welcome to Autoit and the forum! It depends on the browser you use. if you use Internet Explorer then please have a look at the IE UDF (User Defined Functions) which comes with AutoIt. Function _IELoadWait should be a good start. Make sure that you read all remarks! 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...
Marcoluca56 Posted October 12, 2012 Author Share Posted October 12, 2012 Thanks, Ok, solvednow, I want to open 2 tabsI gave this, but the program opens two windows and not 2 tabs on the same page:#include <IE.au3> Local $oIE = _IECreate("www.google.it/") _IELoadWait($oIE) sleep(500) _IECreate($oIE, "www.yahoo.it") _IELoadWait($oIE)How can I do?thanks in advance Link to comment Share on other sites More sharing options...
water Posted October 12, 2012 Share Posted October 12, 2012 is an example how to open a new tab 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...
Marcoluca56 Posted October 12, 2012 Author Share Posted October 12, 2012 (edited) I solved it with this code:$oIE = _IECreate("www.hidemyass.com") __IENavigate($oIE, "www.google.it" , 0, 0x800)But now I have another problem with IE -.- "Why do I display the page "Hidemyass" in this way? And how can I solve the problem?http://localhostr.com/file/yJjV5gbHFl8o/problema-internet.jpgThanks in advance! Edited October 12, 2012 by Marcoluca56 Link to comment Share on other sites More sharing options...
water Posted October 12, 2012 Share Posted October 12, 2012 Sorry, I don't completely understand your "new" problem? Can you elaborate? 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...
Marcoluca56 Posted October 12, 2012 Author Share Posted October 12, 2012 With Chrome the page is formatted normally. With IE instead appear a lot of numbers (see the screenshoot in the previous post) that I expand the view of the page and I have the wrong format. Link to comment Share on other sites More sharing options...
water Posted October 12, 2012 Share Posted October 12, 2012 Which version of the Internet Explorer do you use? 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...
Marcoluca56 Posted October 13, 2012 Author Share Posted October 13, 2012 9 Link to comment Share on other sites More sharing options...
water Posted October 13, 2012 Share Posted October 13, 2012 So the same page looks different when displayed with IE9 and Chrome? Maybe you can give the compatibility mode of IE9 a try. 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...
Marcoluca56 Posted October 13, 2012 Author Share Posted October 13, 2012 It's the same (with compatibility) Link to comment Share on other sites More sharing options...
water Posted October 13, 2012 Share Posted October 13, 2012 Then I have run out of ideas 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...
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