Jump to content
Sign in to follow this  
emanemos

new window and copy text

Recommended Posts

emanemos

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 by emanemos

Share this post


Link to post
Share on other sites
emanemos

I got it :

_IELinkClickByText($oIE, "NOK" ,0)

WinwaitActive("Orchestra")

$oIE1 = _IEAttach("Présence ", "text")

$text = _IEBodyReadText($oIE1)

_ExcelWriteCell($oExcel, $text,$j,2)

Edited by emanemos

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  

×