[jawsscripts] JAWS script for Notepad

  • From: jeremy.richards7@xxxxxxxxx
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 17 Aug 2019 20:13:44 -0700

Hi all, 
 
I’m a total JAWS scripting beginner. With that said, before I spend tons of 
time on a script which can’t be done… 
 
Can I launch notepad then run a search for a word and have jaws speak the line 
on which the word was found? 
 
For example, I want to find the word zebra within a text file in Notepad. 
 
I’m going to go to the top of the file before beginning my search. 
 
I’m going to press Control+F to launch the Notepad find. 
 
I’m going to enter the word Zebra and press enter. 
 
When the first occurrence of the word Zebra is found, I’m going to press 
Escape to close the Notepad search. 
 
Now that the Notepad search has been closed, I want to continue searching the 
document by pressing the F3 key. As is, JAWS will not speak anything when the 
second occurrence of the word Zebra has been found. 
 
I would like to write a script which speaks each line which contains the word 
Zebra. That is, when I press F3 and the word is found, I want JAWS to read the 
line so I know when I’ve found my desired spot within the document. 
 
As is, when pressing F3 in Notepad and successive occurrences of the word Zebra 
are found, JAWS does not say anything, and I have to use the SayLine command to 
get some sort of context as to where I am in the document. I use notepad all 
day and every day to search for context, and this process really, really slows 
me down, which is why I want to streamline this process. 
 
Again, can one write a script so JAWS speaks the line on which the word Zebra 
is found once F3 is pressed? 
 
Since I’m a new scripter, if this feature already exists on a different 
application such as Notepad++, please let me know as I might as well make life 
easy on myself as well as preventing scripting headaches for myself. ðŸ˜Š 
 
Thanks, 
 
JR 
 
__________�

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

Other related posts: