How do i read the text from the current running windows appl


hi i am new to API. i have a question. is it possible to read the text(
like Enduser Licence Agreement) from the window while installing the
software? or is it possible to read the file directly from any
executable file( like softwares)? through our program. please help me. i
hope this topicc is related to this forum and also not a bad question.