Sign in to follow this  
Followers 0
AcidCorps

_IEBodyRead doesn't read right

2 posts in this topic

Ok I have a script but I'm not going to show the whole thing for security reasons but the parts that have to do with my question are shown

_IELoadWait($oIE)
$hwnd = _IEPropertyGet($oIE, "hwnd")
$Frame = _IEFrameGetCollection($oIE, 1)
_IEAction($Frame, "Focus")
ControlSend($hwnd, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", "{CTRLDown}ac{CTRLUP}")

what happens before that is it simply logs me into the website not i'm trying to have it read the page but there is a frame and whenever it tries to read the frame it comes with incorrect data. i manually copied and pasted and it read fine so I'm trying to have my script do it, but i can't figure out why the above script isn't copying the data from the web page, currently the web page is visible for debugging reasons but eventually i would like to have it invisible which is why i'm using control send

Share this post


Link to post
Share on other sites



Never mind I figured out how to get it, I used ControlClick before control send which i'm assuming simply activated the window, not quite sure why it worked but it did.

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  
Followers 0