ffiso Posted April 1, 2009 Share Posted April 1, 2009 Hi everyone!!! I'm looking for help... a little wisdom I'm having a little problem finding out how to copy some text... I created an Embedded IExplorer window in a GUI and what i want to do is to Copy all the visible text to a STRING... I used _IEAction($oIE, "selectall") (I stopped here after realizing the following), but then my problem arises... My idea is to run the GUI Hidden... so using the Send("^C") is not an option... I think, also, I don't know if the "selectall" will work with the hidden GUI Is there a way to copy all the visible text (in a hidden window...) to a String??? much like _IEReadText, but this copies also some text that is hidden (Text that normally shows if certain condition in javascript is met) Thanks in Advance! PS: Sorry for my english Link to comment Share on other sites More sharing options...
Valuater Posted April 1, 2009 Share Posted April 1, 2009 Maybe... #include <IE.au3> $oIE = _IE_Example ("basic") $sText = _IEBodyReadText ($oIE) MsgBox(0, "Body Text", $sText) 8) Link to comment Share on other sites More sharing options...
ffiso Posted April 1, 2009 Author Share Posted April 1, 2009 Maybe... #include <IE.au3> $oIE = _IE_Example ("basic") $sText = _IEBodyReadText ($oIE) MsgBox(0, "Body Text", $sText) 8) Hi Valuater! sadly.... no... (Where I wrote "_IEReadText" in the original post I meant "_IEBodyReadText") the problem with that function, is that it returns EVERYTHING... and if I Load a Page with Javascript (in the body) that function returns every Case (switch?) in the javascript... not only the case that is displayed in the page.... 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