Hi Steve,
Yes, I first tried that approach but I don't know how to use the Find
functions I found. There are several of them and it was more complicated
and time consuming to figure all that out for this sort of minimal script.
Using the NextLine commands made it work and it doesn't effect the
performance. Like I said, I'm a beginner at scripting and there probably
are many ways to write that code.
I suppose my solution was based on, "why use big words when diminutive ones
will suffice."
Thanks for asking.
----- Original Message -----
From: "Steve" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, December 20, 2011 12:21 PM
Subject: Re: Can't get G4FON CW tutorial program to start
> Peter,
>
> I haven't written very many scripts for Jaws, but I wonder is there a find
> command that Jaws uses? That might make all the nextline commands
> unnecessary.
>
> ----- Original Message -----
> From: "Tom Behler" <[log in to unmask]>
> To: <[log in to unmask]>
> Sent: Sunday, December 18, 2011 3:28 PM
> Subject: Re: Can't get G4FON CW tutorial program to start
>
>
>> Thanks again, Peter for all your work.
>>
>> these will be interesting to try.
>>
>> Hopefully, those who try it will let you know how they work.
>>
>> I will do so as well when I get the chance to do the scripting here.
>>
>> 73 from Tom Behler: KB8TYJ
>>
>> ----- Original Message -----
>> From: "Peter Slowkowski" <[log in to unmask]>
>> To: <[log in to unmask]>
>> Sent: Sunday, December 18, 2011 1:42 PM
>> Subject: Re: Can't get G4FON CW tutorial program to start
>>
>>
>>> Hi Tom,
>>>
>>> Thanks for the encouragement. I've rewritten those scripts and so far
>>> they are working consistently. I found a way around the issue of those
>>> top
>>> few lines of the screen changing.
>>> Below is what it ends up looking like in the JAWS manager script file,
>>> KochMorseTrainer.JSS. This is what the file name should be when you are
>>> in
>>> the application and bring up the file with JAWS key + 0.
>>> Everything else is the same, creating a new script, naming it,
>>> associating
>>> a keystroke with the script, saving/compiling and so on.
>>> So, there are two scripts I defined, KochStart and KochStop. I
>>> assigned
>>> the Control-Shift-M key combination to the Start and Control-Shift-N to
>>> the
>>> Stop; however the scripts names and assigned keys are your choice.
>>> I'll leave it at that, if you or anyone else wants to give them a try.
>>> They do save a bit of time.
>>> Thanks
>>>
>>>
>>> Script KochStart ()
>>>
>>> JAWSCursor ()
>>> JAWSHome ()
>>> JAWSPageUp ()
>>> JAWSHome ()
>>>
>>> NextLine ()
>>> NextLine ()
>>> NextLine ()
>>>
>>> NextWord ()
>>> SayWord ()
>>>
>>> RoutePcToJAWS ()
>>> PCCursor ()
>>>
>>> EndScript
>>>
>>>
>>> Script KochStop ()
>>>
>>> JAWSCursor ()
>>> JAWSHome ()
>>> JAWSPageUp ()
>>> JAWSHome ()
>>>
>>> NextLine ()
>>> NextLine ()
>>> NextLine ()
>>>
>>> NextWord ()
>>> NextWord ()
>>> SayWord ()
>>>
>>> RoutePcToJAWS ()
>>> PCCursor ()
>>>
>>>
>>> EndScript
>>>
>>>
>>> ----- Original Message -----
>>> From: "Tom Behler" <[log in to unmask]>
>>> To: <[log in to unmask]>
>>> Sent: Sunday, December 18, 2011 10:30 AM
>>> Subject: Re: Can't get G4FON CW tutorial program to start
>>>
>>>
>>>> Well, Peter, please know your efforts are very much appreciated, and
>>>> I'm
>>>> sure I'm not just speaking for myself.
>>>>
>>>> Do what you can, and please re-post anything you can come up with for
>>>> us
>>>> to
>>>> try.
>>>>
>>>> 73 from Tom Behler: Kb8TYJ
>>>>
>>>
|