emanemos Posted December 20, 2012 Posted December 20, 2012 (edited) hello :from an IE window, I click on a link.A new IE window opens.I want to copy the text from this new window to an Excel cell.I only got the title of the window and not the content of this window in the excel cell....Will U have an idea? _IELinkClickByText($oIE, "NOK" ,0)WinwaitActive("Orchestra - diagnostic")WinActivate("Orchestra - diagnostic")$text = WinGetText("Orchestra - diagnostic", "")_ExcelWriteCell($oExcel, $text,$j,2) Edited December 20, 2012 by emanemos
emanemos Posted December 20, 2012 Author Posted December 20, 2012 (edited) I got it :_IELinkClickByText($oIE, "NOK" ,0)WinwaitActive("Orchestra")$oIE1 = _IEAttach("Présence ", "text")$text = _IEBodyReadText($oIE1)_ExcelWriteCell($oExcel, $text,$j,2) Edited December 20, 2012 by emanemos
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