Jump to content
Sign in to follow this  
fataly

Reading text from window, easy but how i...

Recommended Posts

fataly

while 1

$jep = WinGetText("something","")

tooltip(""&$jep,0,0,"")

wend

This read text problem is this: its read whole window! , so, how i can use wingetText to read smaller area in window?

Like:

//////// = window

<<<<<< = area what i want read and move to tooltip

//////////////////TITLE///////////////

///////////////////////////////////////

///////////////////////////////////////

///////////////////////////////////////

///////////////////////////////////////

///////////////////////////////////////

/////////////////////<<<<<<////////

/////////////////////<<<<<<////////

///////////////////////////////////////

///////////////////////////////////////

thanks.

Share this post


Link to post
Share on other sites
Paulie

do you have an example of the text you want to read?

Perhaps you could extract the text from the full window text that WinGetText returns.

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  

×