Jump to content
Sign in to follow this  
dickep

Read IE info in background

Recommended Posts

dickep

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

Share this post


Link to post
Share on other sites
water

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 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
jdelaney

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.

Share this post


Link to post
Share on other sites
dickep

I see that. But how can I refresh the data in the tab without having to activate it first?

Share this post


Link to post
Share on other sites
dickep

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).

Share this post


Link to post
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
Sign in to follow this  

×