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:
Tj SquiresSubject:
Newbie scripting question: Detecting a change in textDate:
Tue, May 17, 2011 1:46:40 pmHello all,
First off, Thanks a bunch, Chip, for your scripting classes. I've only
been able to attend a couple, but have listened to the podcasts for the
rest.
One thing not been covered yet however, is what I'm having trouble
with. I will outline the situation for you.
In an application, just by use, I can safely say that part of a text
string is static. Take for example Your name is: Tj
I know that the your name is: part of the string is static, however, if
I press a hot key, control down arrow, it might change the Tj that comes
after the your name is, to Joe.
If I tab away and shift tab back to the box then, I get your name is: Tj.
How, in this case, can I get Window Eyes to watch that line (The your
name is: *) the * representing the wildcard part of it. and when I
press the control down arrow say "Tj", or "Joe". I know, or I can
gather, by looking at the documentation, that a clip, or list of clips,
would come into play. But I can't seem to figure out how to moniter
just that certain line. I know this may seem like an extremely simple
script, however, I'm extremely new to this, and can't figure it out!
Thanks a lot for all the help you can offer, and, Chip, thanks again for
your insite with the scripting classes. I'm sorry to see that the last
one was canceled!
Tj
MSN: tj@tjsquires.net
Twitter: @tjsquires
Visit my website!
tjsquires.net
First off, Thanks a bunch, Chip, for your scripting classes. I've only
been able to attend a couple, but have listened to the podcasts for the
rest.
One thing not been covered yet however, is what I'm having trouble
with. I will outline the situation for you.
In an application, just by use, I can safely say that part of a text
string is static. Take for example Your name is: Tj
I know that the your name is: part of the string is static, however, if
I press a hot key, control down arrow, it might change the Tj that comes
after the your name is, to Joe.
If I tab away and shift tab back to the box then, I get your name is: Tj.
How, in this case, can I get Window Eyes to watch that line (The your
name is: *) the * representing the wildcard part of it. and when I
press the control down arrow say "Tj", or "Joe". I know, or I can
gather, by looking at the documentation, that a clip, or list of clips,
would come into play. But I can't seem to figure out how to moniter
just that certain line. I know this may seem like an extremely simple
script, however, I'm extremely new to this, and can't figure it out!
Thanks a lot for all the help you can offer, and, Chip, thanks again for
your insite with the scripting classes. I'm sorry to see that the last
one was canceled!
Tj
MSN: tj@tjsquires.net
Twitter: @tjsquires
Visit my website!
tjsquires.net




