The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.
From:
"Jonathan C. Cohn" <joncohn@cox.net>Subject:
Re: text.nextlineDate:
Sun, Sep 15, 2013 9:50:33 pm--Apple-Mail=_8D62B9A3-241C-4F5F-B69F-6FBB5B189514
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=windows-1252
In my case, the lower left reported as being at 55x902 and the first character on the last line was at 61x885. I thought it was probably just that the window rectangle would be just outside this last line. So when And by moving in by 8x15 I consistently found the last line as the window was resized and moved.
Thanks again Chip and Bruce.
Jonatahn
Best wishes,
Jonathan
On Sep 15, 2013, at 9:10 PM, Chip Orange wrote:
> Jonathin,
>
> I too have had some issues with the accuracy of the text object as it relates to text returned for a given location. I reported these issues to GW some time back, and as I recall, it was related to converting from windows to screen coordinates. In my app I wanted to get the text of the current line as indicated by the cursor, and something was forcing me to go through these conversion between units, and I was finding that sometimes the text object would return an empty line, and I’d have to go up/down by a pixel or two (after the conversion) before it would return the text of the current line. As I mention in class 15, it’s not an entirely reliable way to retrieve text; you can often do better using the clips collection. But if text is what you really need, do try adjusting your position up or down by just a pixel if you’re being returned an empty string, and then try a second time. This is what I eventually had to do in the “Word Advanced Features” app in order to get text to give me the text of the current line.
>
> Hth,
>
> Chip
>
>
> From: Jonathan Cohn [mailto:jon.c.cohn@gmail.com] On Behalf Of Jonathan C. Cohn
> Sent: Sunday, September 15, 2013 6:15 PM
> To: gw-scripting@gwmicro.com
> Subject: Re: text.nextline
>
> Bruce,
>
> Thanks for the class notes from Chip, everybody does have access to these via the GWMicro web site, though I do appreciate the research efforts.
>
> I was attempting to re-do some examples from jaws training to show to my co-workers. One of the the labs moves the jaws cursor to the bottom of the current window and then speaks the information.
>
> I was able to do this fairly easily, but then realized that with the text object I should be able to get data from any line on the screen without moving either the mouse or we-cursor.
>
> I got the outline windows rectangle converted that to a screen rectangle and then asked for the line of text starting at the bottom right of the window.
>
> I was finding that the function was recovering the line just below and to the left of the current window. I had to remember learn that I needed a copy of the text object.
>
> I was not able to determine a good method to move just inside of the outlines edge and just changed my starting point by 20 pixels vertically. I was hoping that the text.priorline would work but had no success there.
>
>
> Best wishes,
>
> Jonathan
--Apple-Mail=_8D62B9A3-241C-4F5F-B69F-6FBB5B189514
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=windows-1252
<html><head><base href="x-msg://162/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">In my case, the lower left reported as being at 55x902 and the first character on the last line was at 61x885. I thought it was probably just that the window rectangle would be just outside this last line. So when And by moving in by 8x15 I consistently found the last line as the window was resized and moved.<div><br></div><div>Thanks again Chip and Bruce.</div><div><br></div><div>Jonatahn</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Best wishes,</div><div><br></div><div>Jonathan</div><div><br></div></div></span></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Sep 15, 2013, at 9:10 PM, Chip Orange wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-US" link="blue" vlink="purple" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Jonathin,<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">I too have had some issues with the accuracy of the text object as it relates to text returned for a given location. I reported these issues to GW some time back, and as I recall, it was related to converting from windows to screen coordinates. In my app I wanted to get the text of the current line as indicated by the cursor, and something was forcing me to go through these conversion between units, and I was finding that sometimes the text object would return an empty line, and I’d have to go up/down by a pixel or two (after the conversion) before it would return the text of the current line. As I mention in class 15, it’s not an entirely reliable way to retrieve text; you can often do better using the clips collection. But if text is what you really need, do try adjusting your position up or down by just a pixel if you’re being returned an empty string, and then try a second time. This is what I eventually had to do in the “Word Advanced Features” app in order to get text to give me the text of the current line.<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Hth,<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Chip<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div><div style="border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding-top: 3pt; padding-right: 0in; padding-bottom: 0in; padding-left: 0in; "><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space"> </span>Jonathan Cohn [mailto:jon.c.cohn@gmail.com]<span class="Apple-converted-space"> </span><b>On Behalf Of<span class="Apple-converted-space"> </span></b>Jonathan C. Cohn<br><b>Sent:</b><span class="Apple-converted-space"> </span>Sunday, September 15, 2013 6:15 PM<br><b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:gw-scripting@gwmicro.com">gw-scripting@gwmicro.com</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: text.nextline<o:p></o:p></span></div></div></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">Bruce,<o:p></o:p></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">Thanks for the class notes from Chip, everybody does have access to these via the GWMicro web site, though I do appreciate the research efforts.<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">I was attempting to re-do some examples from jaws training to show to my co-workers. One of the the labs moves the jaws cursor to the bottom of the current window and then speaks the information.<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">I was able to do this fairly easily, but then realized that with the text object I should be able to get data from any line on the screen without moving either the mouse or we-cursor.<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">I got the outline windows rectangle converted that to a screen rectangle and then asked for the line of text starting at the bottom right of the window.<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">I was finding that the function was recovering the line just below and to the left of the current window. I had to remember learn that I needed a copy of the text object. <o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">I was not able to determine a good method to move just inside of the outlines edge and just changed my starting point by 20 pixels vertically. I was hoping that the text.priorline would work but had no success there.<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "> <o:p></o:p></div><div><div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; color: black; ">Best wishes,<o:p></o:p></span></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; color: black; "><o:p> </o:p></span></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; color: black; ">Jonathan<o:p></o:p></span></div></div><div><p class="MsoNormal" style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; color: black; "></span></p></div></div></div></div></div></div></span></blockquote></div><br></div></body></html>
--Apple-Mail=_8D62B9A3-241C-4F5F-B69F-6FBB5B189514--
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=windows-1252
In my case, the lower left reported as being at 55x902 and the first character on the last line was at 61x885. I thought it was probably just that the window rectangle would be just outside this last line. So when And by moving in by 8x15 I consistently found the last line as the window was resized and moved.
Thanks again Chip and Bruce.
Jonatahn
Best wishes,
Jonathan
On Sep 15, 2013, at 9:10 PM, Chip Orange wrote:
> Jonathin,
>
> I too have had some issues with the accuracy of the text object as it relates to text returned for a given location. I reported these issues to GW some time back, and as I recall, it was related to converting from windows to screen coordinates. In my app I wanted to get the text of the current line as indicated by the cursor, and something was forcing me to go through these conversion between units, and I was finding that sometimes the text object would return an empty line, and I’d have to go up/down by a pixel or two (after the conversion) before it would return the text of the current line. As I mention in class 15, it’s not an entirely reliable way to retrieve text; you can often do better using the clips collection. But if text is what you really need, do try adjusting your position up or down by just a pixel if you’re being returned an empty string, and then try a second time. This is what I eventually had to do in the “Word Advanced Features” app in order to get text to give me the text of the current line.
>
> Hth,
>
> Chip
>
>
> From: Jonathan Cohn [mailto:jon.c.cohn@gmail.com] On Behalf Of Jonathan C. Cohn
> Sent: Sunday, September 15, 2013 6:15 PM
> To: gw-scripting@gwmicro.com
> Subject: Re: text.nextline
>
> Bruce,
>
> Thanks for the class notes from Chip, everybody does have access to these via the GWMicro web site, though I do appreciate the research efforts.
>
> I was attempting to re-do some examples from jaws training to show to my co-workers. One of the the labs moves the jaws cursor to the bottom of the current window and then speaks the information.
>
> I was able to do this fairly easily, but then realized that with the text object I should be able to get data from any line on the screen without moving either the mouse or we-cursor.
>
> I got the outline windows rectangle converted that to a screen rectangle and then asked for the line of text starting at the bottom right of the window.
>
> I was finding that the function was recovering the line just below and to the left of the current window. I had to remember learn that I needed a copy of the text object.
>
> I was not able to determine a good method to move just inside of the outlines edge and just changed my starting point by 20 pixels vertically. I was hoping that the text.priorline would work but had no success there.
>
>
> Best wishes,
>
> Jonathan
--Apple-Mail=_8D62B9A3-241C-4F5F-B69F-6FBB5B189514
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=windows-1252
<html><head><base href="x-msg://162/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">In my case, the lower left reported as being at 55x902 and the first character on the last line was at 61x885. I thought it was probably just that the window rectangle would be just outside this last line. So when And by moving in by 8x15 I consistently found the last line as the window was resized and moved.<div><br></div><div>Thanks again Chip and Bruce.</div><div><br></div><div>Jonatahn</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Best wishes,</div><div><br></div><div>Jonathan</div><div><br></div></div></span></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Sep 15, 2013, at 9:10 PM, Chip Orange wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-US" link="blue" vlink="purple" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Jonathin,<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">I too have had some issues with the accuracy of the text object as it relates to text returned for a given location. I reported these issues to GW some time back, and as I recall, it was related to converting from windows to screen coordinates. In my app I wanted to get the text of the current line as indicated by the cursor, and something was forcing me to go through these conversion between units, and I was finding that sometimes the text object would return an empty line, and I’d have to go up/down by a pixel or two (after the conversion) before it would return the text of the current line. As I mention in class 15, it’s not an entirely reliable way to retrieve text; you can often do better using the clips collection. But if text is what you really need, do try adjusting your position up or down by just a pixel if you’re being returned an empty string, and then try a second time. This is what I eventually had to do in the “Word Advanced Features” app in order to get text to give me the text of the current line.<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Hth,<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Chip<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div><div><div style="border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding-top: 3pt; padding-right: 0in; padding-bottom: 0in; padding-left: 0in; "><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space"> </span>Jonathan Cohn [mailto:jon.c.cohn@gmail.com]<span class="Apple-converted-space"> </span><b>On Behalf Of<span class="Apple-converted-space"> </span></b>Jonathan C. Cohn<br><b>Sent:</b><span class="Apple-converted-space"> </span>Sunday, September 15, 2013 6:15 PM<br><b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:gw-scripting@gwmicro.com">gw-scripting@gwmicro.com</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: text.nextline<o:p></o:p></span></div></div></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">Bruce,<o:p></o:p></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">Thanks for the class notes from Chip, everybody does have access to these via the GWMicro web site, though I do appreciate the research efforts.<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">I was attempting to re-do some examples from jaws training to show to my co-workers. One of the the labs moves the jaws cursor to the bottom of the current window and then speaks the information.<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">I was able to do this fairly easily, but then realized that with the text object I should be able to get data from any line on the screen without moving either the mouse or we-cursor.<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">I got the outline windows rectangle converted that to a screen rectangle and then asked for the line of text starting at the bottom right of the window.<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">I was finding that the function was recovering the line just below and to the left of the current window. I had to remember learn that I needed a copy of the text object. <o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; ">I was not able to determine a good method to move just inside of the outlines edge and just changed my starting point by 20 pixels vertically. I was hoping that the text.priorline would work but had no success there.<o:p></o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "> <o:p></o:p></div><div><div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; color: black; ">Best wishes,<o:p></o:p></span></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; color: black; "><o:p> </o:p></span></div></div><div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; color: black; ">Jonathan<o:p></o:p></span></div></div><div><p class="MsoNormal" style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 13.5pt; font-family: Helvetica, sans-serif; color: black; "></span></p></div></div></div></div></div></div></span></blockquote></div><br></div></body></html>
--Apple-Mail=_8D62B9A3-241C-4F5F-B69F-6FBB5B189514--




