[jawsscripts] Re: changing braille tables via script

  • From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 16 Sep 2009 10:31:44 -0400

Hi Milios 

This question is complicated by the fact that you are adjusting the
translation table based on the new language that you have switched to.

I suggest that you switch to the intended language manually and then go
through the steps to switch the braille translation table using the Jaws
options as usual.

Now determine which jcf file under which language is changed.  I am
guessing that Jaws will change the default.jcf file under the language
directory that you have switched to.  If this is correct, you can use
the GetSharedSettingsDirectory or the GetUserSettingsDirectory to
specify the path for the shared or user settings directory.  These
functions return the path based on the language in use at the time.  be
aware that these functions do not add the trailing back slash to the
path name.  You will need to add this yourself.  Do not forget to double
the back slash when doing so.  Also remember when specifying the value
for the key that you do not need to specify the .jbt extension for the
file.

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 

>>> milios awad <milios@xxxxxxxxxxxx> 05:18 am Wednesday, September 16,
2009 >>>
hello david
first thank you, but still have some questions.
when using the IniWriteString function, in the first parameter i wrote
the 
following: section_braille. in the second one the name of the key i
typed: 
"BrailleTranslationTable". in the third one the value the must be
written to 
the key, and as i understand it is the name of the jbt file in our
case.
fourth one the path to the ini style file, i don't understand this 
parameter. do i have to write the full path to the default.jcf or
what?

bless be

__________�
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: