6.0 Reading Information with Scripts

You learned about the Script Manager and used it to create your first two scripts in Chapter 4 and Chapter 5. You created scripts that simply spoke messages when you pressed the appropriate keystroke.

In this chapter, you will learn how to use the scripting language to read areas of the screen by moving various cursors. As you create scripts that read parts of a window, you should understand the differences between the various cursors and how they can be manipulated through a script or function.

JAWS has three cursors you can use to read areas of the screen:

Manipulating cursors to read information is not the most efficient method of accessing that information. However, as a beginning scripter, you can use cursor manipulation as a quick way to write scripts to read information within a given window. You do not need to know the relationship between windows or the types of windows your scripts are accessing. As your knowledge of the scripting language grows, you will learn how to create scripts that read information more efficiently using advanced techniques.

Table of Contents

Chapter 6.0 Reading Information with Scripts, contains the following sections:

6.1 Before You Write the Script

6.2 PC Cursor

6.3 JAWS Cursor

6.4 Invisible Cursor

6.5 Before You Move a Cursor

6.6 Moving the Cursor

6.7 Speaking the Information

6.8 Chapter Exercises