[jawsscripts] Re: Scripting Word Web Dictionary

  • From: "Don Marang" <donald.marang@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 5 Jan 2011 21:19:26 -0500

I hope you are now getting aquainted with the Script Manager, how to put 
together a simple script, lookup functions through the menus and the FSDN 
help file.  Have you read through the "Basics of JAWS Scripts" manual?  It 
is installed with every JAWS installation.  In my Windows 7, JAWS 12 
installation, it is located at:
"C:\Program Files\Freedom 
Scientific\JAWS\12.0\MANUALS\enu\Basics_of_Scripting.chm"

It also has an introductory section regarding Windows Application Structure, 
which is necessary to understand the way JAWS can directly access controls 
such as Edit boxes, Tab Controls and icons.

The FSDN must be downloaded from the FreedomScientific.com website.  I think 
it is near the bottom of the training page.  There is an updated file for 
JAWS 12, since they added a few new types and functions.

I think you will need to learn to use the JAWS Home Row Utility to discover 
the window classes and Control IDs to uniquely identify the control (all 
called Windows)that you are interested in.  In JAWS 11 and 12, this is now 
called Script Utility mode, turned on and off by the Insert + Windows + 
NumPad minus key combination.

You would open your application, move to the window of interest, such as the 
Edit box which contains the lookup word.  Then press Insert + Windows + 
NumPad minus.  Now pressing F1 will announce the information of the 
attribute currently set by F3.  Pressing F3, or Shift + F3, will cycle 
through different attributes of the window I(control) in focus, such as 
handle, class, ID, text, type, and so on.  A tool like this is absolutely 
necessary to determine the information that can uniquely identify the 
desired window using one or more of the internal JAWS functions, like 
FindWindow.

There is a more logical, more powerful investigative toolkit, called the BX 
Toolbox.  I can not recall where to download it at the moment.  However, the 
utility provided by FS should easily get you the information needed for this 
application.

Sorry, I used to have that application installed, but I now just tend to use 
Google instead.  It better knows what I am attempting to spell.

Don Marang

There is just so much stuff in the world that, to me, is devoid of any real 
substance, value, and content that I just try to make sure that I am working 
on things that matter.
Dean Kamen


--------------------------------------------------
From: "Andre Williams" <andre.williams.1965@xxxxxxxxx>
Sent: Tuesday, January 04, 2011 6:00 PM
To: <jawsscripts@xxxxxxxxxxxxx>
Subject: [jawsscripts] Scripting Word Web Dictionary

> I'd like to begin what will probably be a small scripting project. I would
> like to script the following seemingly simple commands in the Word Web
> dictionary:
> 1.  I would like to use a command such as Control + Shift + S to say the
> word being defined. I would then like to quickly press this command again 
> to
> have the word spelled letter by letter.
> 2. I would like to create a hotkey to activate the Word Web feature that
> uses a real life voice to say the word being defined. Its only a matter of
> clicking on an icon that does not move.
> 3. I would like to create a hotkey that will activate any of the 4 tabs on
> the screen. The tabs are constant and I can now access them by pressing 
> tab
> key then arrowing back and forth. the reason I want to set a hotkey to 
> skip
> to each of these tabs is because when I press right or left arrow the tab 
> is
> activated and various processes begin.
>
> I am hoping I will get a helping hand from the obviously much more
> experienced jaws scriptors on this list.
>
> First, where does one begin? (Smile).
>
> Do I create a WordWeb related JSS file? The only file I have related to 
> Word
> Web is: wweb32.JGF.
>
> I realize I'm asking what appear to be extremely simple questions, but I 
> can
> get pretty serious when it comes to things I feel are important, so please
> don't feel as though you are wasting your time by answering a few of my
> nubie questions. (Smile)! I have read some of the jaws scripting help 
> files
> as well as listened to some of the beginning tutorials of the Snowman
> tutorials, and I'm ready to work on something meaningful rather than basic
> exercises. Any help from those willing to walk me through answering such
> simple questions is incredibly appreciated.
>
> Andre
>
>
> __________�
>
> 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: