[jawsscripts] Re: SPrior function fixed? what did they change? was SetActiveVoiceProfileByName

  • From: "Raymond" <r.jansen@xxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 25 Mar 2011 09:52:27 +0100

Hi Geoff,

I don't know in which version it was broken, but currently if you perform a 
FindString with S_PRIOR, you will always stay on the first text it will 
find. So once on that text, the next FindString S_PRIOR stays on that same 
text. You will have to move the cursor one character to the left, so just in 
front of that text, to find the previous occurrence.

They fixed it for the next update so that you will always find the previous 
occurrence. But if you perform a FindString with S_PRIOR when the cursor is 
within the text you are looking for, but not on the first character, it will 
first jump to the first character of that text. That is correct because 
FindString puts you always on the first character of the text you are 
looking for. And it is the same functionallity as all the other Prior 
functions.

Cheers,

Raymond

----- Original Message ----- 
From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Friday, March 25, 2011 4:25 AM
Subject: [jawsscripts] SPrior function fixed? what did they change? was 
SetActiveVoiceProfileByName


> Hi Raymond.
>
> Could you perhaps indicate exactly what fs have, "fixed," re behaviour of
> sPrior in the findString function?
> i.e. what it does now, and what they're altering it to do? was there an
> actual bug introduced in jaws12 with this? or long standing behaviour of 
> how
> it worked, that they're now changing? just curious.
>
> thanks.
>
>
> ----- Original Message ----- 
> From: "Raymond" <r.jansen@xxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Thursday, March 24, 2011 10:58 PM
> Subject: [jawsscripts] Re: SetActiveVoiceProfileByName
>
>
>> Hi,
>>
>> done!
>>
>> They also fixed the S_PRIOR behaviour using the FindString function. Will
>> be
>> in the next release.
>>
>>
>> Best regards,
>>
>> Raymond
>>
>> ----- Original Message ----- 
>> From: "Homme, James" <james.homme@xxxxxxxxxxxx>
>> To: <jawsscripts@xxxxxxxxxxxxx>
>> Sent: Thursday, March 24, 2011 12:40 PM
>> Subject: [jawsscripts] Re: SetActiveVoiceProfileByName
>>
>>
>>> Hi,
>>> If this is in JAWS 12, someone might want to report it to
>>> FreedomScientific.
>>>
>>> Jim
>>>
>>> -----Original Message-----
>>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bissett, Tom
>>> Sent: Wednesday, March 23, 2011 4:50 PM
>>> To: 'jawsscripts@xxxxxxxxxxxxx'
>>> Subject: [jawsscripts] Re: SetActiveVoiceProfileByName
>>>
>>> Thank you so much Andrew.  I would never have thought of going that
>>> route.
>>> I did take a look at the builtin file but believed implicitly what it
>>> told
>>> me so I couldn't figure out the problem.
>>> I will look more closely at what it has to say next time.
>>> Regards
>>> Tom Bisset
>>>
>>> -----Original Message-----
>>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Andrew Hart
>>> Sent: March 23, 2011 4:37 PM
>>> To: jawsscripts@xxxxxxxxxxxxx
>>> Subject: [jawsscripts] Re: SetActiveVoiceProfileByName
>>>
>>> According to builtin.jsd, SetActiveVoiceProfileByName expects its first
>>> argument to be an integer, which is clearly incorrect.
>>>
>>> If you edit the builtin.jsd file and change the first parameter type to
>>> String instead of Int, the Script Manager will allow your script source
>>> to compile.
>>>
>>> In case my explanation is not clear, open builtin.jsd in the script
>>> manager from the shared folder.  If you search for
>>> SetActiveVoiceProfileByName, you will find the following lines
>>>
>>> :function SetActiveVoiceProfileByName
>>> :Description Sets the active voice profile to the one with the given
>>> name.
>>> :Param int  The name of a voice profile.
>>> :Optional
>>> :Param Int/persist This optional parameter was added in JAWS 10.0.  The
>>> default value for the parameter is FALSE.  This parameter controls
>>> whether or not JAWS makes the change permanent by saving the change in
>>> active voice profile to Default.jcf.
>>> :Category Voices
>>>
>>>
>>> You need to change the line
>>> :Param int  The name of a voice profile.
>>> to be
>>> :Param string  The name of a voice profile.
>>> and then save the file.
>>>
>>> Hth,
>>> Andrew.
>>>
>>> On 23/03/2011 4:33 PM, Bissett, Tom wrote:
>>>> I am trying to use the function SetActiveVoiceProfileByName.  If I put
>>>> the name in quotes it is telling me that it is "incorrect parameter
>>>> format",  if I supply the name in the function with out quotes it tells
>>>> me it doesn't recognize the variable.  If I put it in to a variable it
>>>> gives me the error "incorrect parameter format" message.  I am not sure
>>>> what is looking for.
>>>> Any ideas on what might be wrong?
>>>>
>>>> Any help is appreciated.
>>>> Tom Bisset
>>>> __________�
>>>>
>>>> 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
>>>
>>> __________�
>>>
>>> View the list's information and change your settings at
>>> //www.freelists.org/list/jawsscripts
>>>
>>>
>>> This e-mail and any attachments to it are confidential and are intended
>>> solely for use of the individual or entity to whom they are addressed.
>>> If
>>> you have received this e-mail in error, please notify the sender
>>> immediately and then delete it.  If you are not the intended recipient,
>>> you must not keep, use, disclose, copy or distribute this e-mail without
>>> the author's prior permission.  The views expressed in this e-mail
>>> message
>>> do not necessarily represent the views of Highmark Inc., its
>>> subsidiaries,
>>> or affiliates.
>>> __________�
>>>
>>> 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
>>
>
> __________�
>
> 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: