Jump to content

Read IE info in background


dickep
 Share

Recommended Posts

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

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

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

#include <IE.au3>
$oObj = _IEAttach ( "your browser" )
_IEAction ( $oObj, "refresh" )

Edited by jdelaney
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...