dickep Posted September 5, 2012 Share Posted September 5, 2012 I have a script that reads IE data from the page displayed. It works for multiple pages like I want (really one IE open with multiple tabs for the various pages). Now, I would like to know if I can have this work but in the background. In other words, I want to be able to read the data ouf of the tabs of the IE but do not want the IE and/or tabs to be actively opened. Make sense??? Thanks E Link to comment Share on other sites More sharing options...
water Posted September 5, 2012 Share Posted September 5, 2012 How do you do it now? If you use the IE UDF there is a visibility flag for function _IECreate. 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...
jdelaney Posted September 5, 2012 Share Posted September 5, 2012 define the objects, and you can get their values without physically moving between tabs...replace "title#" with your titles, or identify it another way (help file) #include <IE.au3> $oie1 = _IEAttach ( "title1" ) $oie2 = _IEAttach ( "title2" ) $oie3 = _IEAttach ( "title2" ) consolewrite (_IEDocReadHTML($oie1)) consolewrite (_IEDocReadHTML($oie2)) consolewrite (_IEDocReadHTML($oie3)) IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
dickep Posted September 5, 2012 Author Share Posted September 5, 2012 I see that. But how can I refresh the data in the tab without having to activate it first? Link to comment Share on other sites More sharing options...
jdelaney Posted September 5, 2012 Share Posted September 5, 2012 (edited) #include <IE.au3> $oObj = _IEAttach ( "your browser" ) _IEAction ( $oObj, "refresh" ) Edited September 5, 2012 by jdelaney dickep 1 IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
dickep Posted September 5, 2012 Author Share Posted September 5, 2012 OK, thanks jdelaney. It is now working like I want it to. Hmm........ maybe one of these days I will learn that the Help file is there to really help not just take up disk space (which a lot of Help files are doing). 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