AcidCorps Posted September 26, 2008 Share Posted September 26, 2008 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 More sharing options...
AcidCorps Posted September 26, 2008 Author Share Posted September 26, 2008 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now