Jump to content
Sign in to follow this  
Chimp

how to "hook" an running iexplore

Recommended Posts

Chimp

hello all

I would need to view some properties of an "iexplore" instance running in "kiosk" mode on the computer by the _IEPropertyGet(ByRef $o_object, $s_property) command;

how can i get the "$o_object" from the already running iexplorer?

thanks a lot

Pincopanco


small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites
water
_IEAttach Attach to the specified instance of Internet Explorer where the search string sub-string matches (based on the selected mode).

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
Chimp

_IEAttach Attach to the specified instance of Internet Explorer where the search string sub-string matches (based on the selected mode).

thanks "water"

with the _IEAttach() function i solved!

my problem was to get the the "$o_object" reference to iexplore.exe without any "windows title", "text", or other properties of the running browser in "kiosk" mode;

with the many options of _IEAttach() i had the hook in this way:

#include <IE.au3>
$ie_handle1 = winactivate("[CLASS:IEFrame]") ; get iexplore handle
$oIE = _IEAttach($ie_handle1 ,"HWND" ) ; reference to $o_object
ConsoleWrite( _IEPropertyGet( $oIE, "locationurl") & @crlf) ; url of the displayed web page

many thanks again Water

bye

Pincopanco


small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites
water

Glad to be of service :D


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

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  

×