Table of Contents

Table of Contents

Chapter 1 Getting started
This chapter discusses the definition of a script, the layered or hierarchical approach Jaws uses when looking for scripts, & the naming conventions of the default and application script files. By the end of this chapter, the student should be able to do the following:
Know the definition of a script.
Understand the naming conventions used by Jaws script source files. And
Understand the order in which Jaws looks to find scripts assigned to the keys you press.
 
Chapter 2 Script Manager
By chapter’s end, you’ll learn everything you need to know about the Script Manager, including:
How to create/open a script file using the Jaws Script manager (the easy way-you already know the standard Windows hard way);
include files
How to create a new script;;
Structure of a script;
How to Save a script;;
How the script compiler works;
User vs. shared scripts
Where scripts are stored
Binary script files
Keystrokes available in Script Manager
What to do about compiler errors;
Keywords;
Scripts vs. functions-an overview;
Inserting functions into your script;
Getting help.
 
Chapter 3 Some General Concepts
By the end of this chapter, you’ll understand:
what is focus
What is a cursor
The various cursors available in Jaws and what they do
What is a text unit and which ones are used by Jaws
Data types-int, string, handle, object
Constants
Variables.
Operators
 
Chapter 4 Getting a Handle on Windows

On completion of this chapter, you will:
Understand the definition and importance of a window handle;
Understand the concept of window class;
Understand a control iD;
Understand the concept of window type/subtype;
Understand at least some of the built-in functions that return a handle;
Understand the use of the Jaws ‘home row’ utility and ScreenSensitiveHelpTechnical scripts;
Understand the concept of window level and hierarchy, e.g., parent and child windows, prior and next windows, etc.;

 Chapter 5 Decisions, Decisions, Decisions
In this chapter, we will discuss the following:
Returning values from functions
Assigning a return value to a variable
Making decisions using if-then-endif
More complex decisions with else & elif
 
Chapter 6—Stringing Me Along
By the end of the chapter, you’ll understand:
The definition of a string;
Null string;
Retrieving Text
Finding Strings
Comparing Strings
Analyzing Strings
Extracting Text From Strings
Manipulating strings
Speaking Strings
Changing Case of Strings
 
Chapter 7 Here We Go Loopty-loop
In this chapter, we’ll learn about:
while loops;
For loops.
Arrays.
Collections; and
forEach loops
 
Chapter 8 RoadMap for a scripting project

Chapter 9—User Interaction and the HJ Dialog  
In this chapter, we’ll discuss many of the script-building tools that have as their basis the HJ dialog. These functions often, but not always, begin with the letters dlg. However, because one of these is the verbosity options dialog, we’ll also need to talk about retrieving and saving various user options. By chapter’s end, you’ll have a very good grasp of how to use the functions based on the HJ dialog facility.

Chapter 10—Colors, Attributes, Moving, Mouse, And Keyboard
By chapter’s end, you should have an understanding of:
• Functions related to colors;
• Text attributes and how to get and set them;
• The moveTo() function in its various forms;
• Functions to move and click the mouse; and
• Various ways of passing keystrokes to an application.  

Chapter 11: Events