Jump to content

_IEBodyRead doesn't read right


AcidCorps
 Share

Recommended Posts

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

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