[jawsscripts] Re: Getting text in an edit field

  • From: "Varun Khosla" <varun.enjoy@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Mon, 19 May 2008 23:48:08 -0700

Hello,
You can try "GetObjectValue" function to achieve this; It returns the
value of the object from MSAA, thus it doesn't rely on video intercept
which makes jaws speak only what is visible.

Cheers

On 5/19/08, jaws tech <jawsmaster@xxxxxxxxx> wrote:
> This is what I have done in the past.  However, I am essentially scraping a
> screen that
> has 8-10 of these edit fields and that method has been problematic at best.
> There are timing
> issues and it takes quite a bit of time.  I am storing the text from each
> field in a variable for
> subsequent input into another app.   I think a method involving SendMessage
> or
> something like this would be more reliable and quick.  However, I'm not sure
> how to use this
> method.  Documentation for Sendmessage is suprisingly sparse....
>
> On 5/19/08, The dark Count <darkcount1@xxxxxxxxx> wrote:
>>
>> If the text can be selected, you may try copying to clipboard using the
>> jf=
>> w functions.
>> Then display the text in the virtual buffer.
>>
>> D C
>>
>> Your unadulterated message follows:
>> Subject: [jawsscripts] Getting text in an edit field
>> Date: 19 May 2008
>>
>> I have an edit field that contains text that is too long to be fully
>> displayed.  When I use functions such
>> as GetWindowText() it only returns the visible text.  Same thing when
>> usin=
>> g
>> the home row functions.
>> What is the best way to get the full string of text in this situation??
>>
>> thanks
>>
>>
>> __________=A0
>> View the list's information and change your settings at
>> http://www.freelists.org/list/jawsscripts
>>
>> __________
>> View the list's information and change your settings at
>> http://www.freelists.org/list/jawsscripts
>>
>>
>
>
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>
__________ 
View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: