[jawsscripts] Re: Jaws constant not working in SetJcfOption

  • From: "John Robichaud" <john_robichaud@xxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 1 Dec 2011 16:27:13 -0500

Thanks David,
I'll experiment with that when I get back to the job site. It would be nice
if FS would document that little wrinkle.
John

John H. Robichaud
The Occupational Rehabilitation Group, Inc.
Harvard Sq, PO Box 382037
Cambridge, MA  02238
617-661-5667
John_Robichaud@xxxxxxxxxxx
 
 

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of David Farough
Sent: Thursday, December 01, 2011 11:36 AM
To: JawScripts
Subject: [jawsscripts] Re: Jaws constant not working in SetJcfOption

Hi John:
I can verify that the SetJcfOption function does not actually change the
value for the option in the JCF file but it does change the value that Jaws
uses for that option.  It seems to me that  I remember some time ago that
Doug Lee explained that SetJcfOption does not actually write out the change
to the JCF file.  If I find the message I'll let you know, or maybe Doug can
clarify or let me know if I am dreaming or something.
I used settings centre to turn off the access keys option. 
then I created a test script which contained the following lines.
sayinteger (GetJCFOption (optElementAccessKeys)) SetJCFOption
(optElementAccessKeys, true) sayinteger (GetJCFOption
(optElementAccessKeys))

Jaws spoke 0 first and then spoke 1 after the SetJcfOption statement.
The value written to the jcf file was not changed.

You can always write the value back to the jcf file using the IniWrite
functions.


David Farough
Application Accessibility Coordinator/coordonateur de l'accessibilité
Information Technology Services Directorate / Direction des services
d'information technologiques Public Service Commission / Commission de la
fonction publique Email / Courriel:  David.Farough@xxxxxxxxxxxxx
Tel. / Tél:    (613) 992-2779 >>> "John Robichaud"
<john_robichaud@xxxxxxxxxxx> 10:34 PM Wednesday, November 30, 2011
>>>
Under Jaws 12.0.1170 in the Jaws Settings Center dialog (insert+6) for
Internet Explorer there is a setting under Web/HTML/PDFs, under Reading,
called Speak Access Keys Within Web Pages. It's a checkbox. I'd like to
change its setting using the script function SetJcfOption. I believe the
constant to use for this purpose is optElementAccessKeys found in
HJConst.jsh. 
I cannot get this constant to work with SetJcfOption although it does work
with GetJcfOption. Can anyone confirm this?
John Robichaud


__________�

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


>
This e-mail message is intended for the named recipient(s) and may
contain information that is privileged, confidential and/or exempt from
disclosure under applicable law. Unauthorized disclosure, copying or
re-transmission is prohibited. If you are not a named recipient or not
authorized by the named recipient(s), or if you have received this
e-mail in error, then please notify the sender immediately and delete
the message and any copies.
 >
Ce courriel est destiné exclusivement au destinataire mentionné en titre
et peut contenir de l'information privilégiée, confidentielle ou
soustraite à la communication aux termes des lois applicables. Toute
divulgation non autorisée, toute reproduction ou réacheminement est
interdit. Si vous n'êtes pas le destinataire de ce courriel, ou n'êtes
pas autorisé par le destinataire visé, ou encore, si vous l'avez reçu
par erreur, veuillez le mentionner immédiatement à l'expéditeur et
supprimer le courriel et les copies.      

__________?

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: