I am using the same keystroke to switch between english/spanish, for
example, I press Insert + window Key + 1  and if jaws is speacking in
English then switch to Spanish, and if jaws is speacking in Spanish, then
jaws switch to English.
How I do that?
Well, you press insert + 0 on the number row, the screipt manager will open.
Press control + shift + D, then you will open the default.jss file, it is
the default script of jaws, it works every where, not just on a specific
app.
Then go to the end of the default.jss file pressing control end key, like on
what ever text editor. Now if you want to take 2 keystrokes to switch
between English to Spanish and a second to switch between Spanish to English
then you will need to press more keystrokes, and modify the script. This
script is to switch between the current language to another language, and
vice bersa. 
Now if you rather to use just one keystroke to switch between both
languages, do the following. 
Press alt + s, the script menu is open, select new script. A dialog is going
to say something like ;
Script name, type the name of that script, not spaces, not special
characters, something like EnglishSpanish, or something that is going to
identify what the script does, then press tab and is going to ask you if the
new script can be attach to a key, select this check box, now press tab
until assign to, here you are going to press the keyboard command that you
want to use, you need to be careful that you will not use a keyboard command
that is use already by jaws, jaws will let you know if it is already used,
but you should not use a keyboard command used by windows or another
program. Then press tab on and press space bar on ok button.
Now you will be again on the script editor, copy and paste the script that I
gave you, remember that you are going to paste the code between the line
that say  the name of your script, for example;
Script EnglishSpanish
Here you are going to paste the code
EndScript

After you paste the code, press  control s, then it is all, you can close
the script manager, and it is all.
Now if you want to use 2 different keystrokes, you need to repeat these
steps, using different keystrokes for English and different for spanish. On
the code instead the code that I sent you, you should type something like;
In the switching to spanish;
SetSynthLanguage(Spanish ("Mexico)")
And on the script to switching to English this 
SetSynthLanguage("English (United States)"
I don't recommend  create 2 different scripts to switch between 2 different
languages, but it is up to you.

-----Original Message-----
From: JAWS-Users-List [mailto:[email protected]] On
Behalf Of Gerardo Corripio
Sent: Saturday, May 9, 2015 8:15 AM
To: [email protected]
Subject: Re: [JAWS-Users] Jaws16 Another way to change languages on the fly?

  OK and after I've copied the text into the script file? how would I 
assign the keyboard shortcut of Windows+Control+1 for Spanishn and 
Windows+Control+2 for English?

El 08/05/2015 07:13 p.m., Pablo escribió:
> Hi Gerardo.
>
> It is a script that I use to switch the languages very easy. You can copy
> and paste it in your default.jss.
> Var
> String Actual,
> String Spanish,
> String English,
> String Message
> Let Actual=GetActiveSynthLanguage()
> Let Spanish= "Spanish (Mexico)"
> Let English = "English (United States)"
> if Actual==English then
> Let Actual = Spanish
> let message="Español latino americano"
> ElIf Actual== Spanish then
> Let Actual=English
> let message="American English"
> EndIf
> SetSynthLanguage(actual)
> Say(actual,0)
> -----Original Message-----
> From: JAWS-Users-List [mailto:[email protected]] On
> Behalf Of Gerardo Corripio
> Sent: Friday, May 8, 2015 11:56 AM
> To: [email protected]
> Subject: [JAWS-Users] Jaws16 Another way to change languages on the fly?
>
>    HI guys
> I'm wondering if somehow a script could be developped, as to assign
> Windows+Control+1 for Mexican Spanish, and Windows+Control+2 for
> American English? Yes the route of Windows+Control+l and depending of if
> I want to change to english (Double i) or Spanish (Double ee) is OK, but
> I'd like to imagine that Jaws is powerful enough to allow such script to
> be developped?
>

-- 
Enviado desde mi lap
Gerardo J Corripio Flores Psicólogo, Terapéuta Reiki
Saludos desde Tampico, Tamaulipas México


For answers to frequently asked questions about this list visit:
http://www.jaws-users.com/help/


For answers to frequently asked questions about this list visit:
http://www.jaws-users.com/help/

Reply via email to