[jawsscripts] Re: Jaws 13 compile issue

  • From: "Alex H." <linuxx64.bashsh@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx, Doug Lee <doug.lee@xxxxxxxxxxxxxxxx>
  • Date: Thu, 12 Jan 2012 21:27:15 -0500

Ah! So the infamous StringCompare thing. I don't have JFW12 in a VM
anymore, so I assumed it broke everything, as in wouldn't run at all.

Thanks for this.
Alex

On 1/12/12, Doug Lee <doug.lee@xxxxxxxxxxxxxxxx> wrote:
> Add the following line to the top of your scripts to make them work
> properly in JAWS 13 and JAWS 12 and below:
>
> ;#pragma StringComparison partial
>
> This is how they fixed this issue. JAWS 13 natively makes == and other
> comparison operators, when comparing strings, compare the whole
> string, not just through the end of the shortest one. This is like
> most other languages out there, but it breaks things like checking for
> a RichEdit control by comparing getWindowClass(hwnd) to "RichEdit,"
> since RichEdit window classes tend to be longer (e.g., "RichEdit20W").
>
> On Thu, Jan 12, 2012 at 03:18:04PM -0500, Alex H. wrote:
> Man, I hope they fix that, it's kind of a big show stopper.
>
> On 1/12/12, John Martyn <johnrobertmartyn@xxxxxxxxx> wrote:
>> For those interested, if you compile a script in jaws 13, it won't work
>> with
>> jaws 12 and below, so in a universal sense, compile your scripts in JAWS
>> 12
>> and it will work with all recent versions.
>> John Martyn
>>
>>
>>
>> __________???
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>>
> __________???
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
> --
> Doug Lee, Senior Accessibility Programmer
> SSB BART Group - Accessibility-on-Demand
> mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
> "While they were saying among themselves it cannot be done,
> it was done." --Helen Keller
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>
__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: