Jonathin,

 

I think I had written a wiki article on the use of these methods and the
"text" object to retrieve text; perhaps Aaron would post it here or in their
KB as the wiki is gone and I didn't save copies of all the articles I had
written, and I can't find any of them on the KB.

 

I seem to recall it mentioned several documentation errors or omisions which
were really helpful to know.  I'm just going from memory here, but I don't
think it's documented that you need to make your own copy of the text object
to work with for these methods to work properly.  Also, by default, the
enclosing rectangle is that of the active window.  It could be that these
things are documented, just very hard to find.

I believe I covered this article in class #15, as well as other methods for
getting text from the display (some of them either more reliable or easier
than using the text object).

 

This is why the wiki was so important (if there was no other reason, it gave
us a way to correct and update/ogment documentation deficiencies).

 

Hth,

 

Chip

 

Chip

 

 

From: Jonathan C. Cohn [mailto:[email protected]] 
Sent: Thursday, September 12, 2013 7:43 AM
To: [email protected]
Subject: text.nextline 

 

I understand that text.nextline(aScreenPoint) will return a set of clips and
that there is a bounding rectangle of some kind associated with the method.
I do have two questions.

 

1. Is the aScreenPointer then updated to the new line of text so
conseccutive calls would return new clips?

 

How is the bounding rectangle specified?

 

Thanks,

 

 

Jonathan Cohn

 

 

 

 

Reply via email to