Re: A few ISPF questions

  • From: Eric Brinkman <eric.brinkman1@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Tue, 15 Sep 2009 12:24:01 -0400

Where do I put this code fragment?  I'm not that familiar with Jaws
scripting, so sorry if this is a noobish question.

Eric

On 9/15/09, Ron McEwan <ron.mcewan@xxxxxxxxx> wrote:
> Here is a code fragment that does what you want.  I haven't compiled this
> since at least jfw 7 so not sure if it is still valid.
>
> Globals
> Int NumOff,
>
>
> ; turn the first 7 characters on or off, line numbers
> ; NumOff is a global variable
> Script numprocessing ()
>
> if NumOff == False
> then
> let NumOff = true
> SayString ("numbers off")
> else
> let NumOff = false
> SayString ("numbers on")
> EndIf
>
> EndScript
>
>
> ;when downarrow is pressed if num processing is off,
> ; the lines that start with 0 will have line numbers suppressed
> Script ScriptDownArrow ()
> Var
> String STrIsNum
>
> NextLine ()
>
> let StrIsNum = SubString(GetLine(),2,6)
> if NumOff == true
> then
> if StringToInt(StrIsNum) > 0 then
> SayString (SubString (GetLine (), 8, 80))
> Else
> SayLine ()
> EndIf
> Else
> SayLine ()
> Endif
>
> EndScript
>
> ;when uparrow is pressed if num processing is off,
> ; the lines that start with 0 will have line numbers suppressed
> Script ScriptUpArrow ()
> Var
> String StrIsNum
>
> priorLine ()
> let StrIsNum = SubString(getline(),1,2)
>
> if NumOff == true
> then
> If StringContains(StrIsNum,"0") then
> SayString (SubString (GetLine (), 8, 80))
> Else
> Sayline ()
> Endif
> Else
> SayLine ()
> Endif
>
> EndScript
>
>
>
>
> In the Journey,
>
> Ron
>
> -----Original Message-----
> From: programmingblind-bounce@xxxxxxxxxxxxx
> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Eric Brinkman
> Sent: Tuesday, September 15, 2009 08:29 AM
> To: programmingblind@xxxxxxxxxxxxx
> Subject: Re: A few ISPF questions
>
> Insert R just toggles between real window, focused window, etc.  I looked at
> the Jaws help files but didn't find anything else.  Could anyone tell me how
> to do this?
>
> Thanks in advance.
>
> Eric
>
> On 9/15/09, Stanzel, Susan - Kansas City, MO <susan.stanzel@xxxxxxxxxxxx>
> wrote:
>> Hi Listers,
>>
>> To make JAWS not speak the line numbers you need to restrict the
>> window. You have to set each corner of the window. I had to do this. I
>> also had to make sure it didn't speak the time all the time which is
>> in the lower right corner on the status line. I have not been on the
>> mainframe for a while. I think it might be insert R.
>>
>> Susie Stanzel
>>
>> -----Original Message-----
>> From: programmingblind-bounce@xxxxxxxxxxxxx
>> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Homme,
>> James
>> Sent: Tuesday, September 15, 2009 6:05 AM
>> To: programmingblind@xxxxxxxxxxxxx
>> Subject: RE: A few ISPF questions
>>
>> Hi,
>> I'm pretty sure that questions 2 and 3 are ISPF issues. As for
>> question 1, maybe the scripts have a help file you can read.
>>
>> Thanks.
>> Jim
>>
>> ----------
>> Jim Homme
>> Usability Services
>> 412-544-1810
>> james.homme@xxxxxxxxxxxx
>>
>> "Strength does not come from physical capacity. It comes from an
>> indomitable will." -- Mahatma Gandhi
>>
>>
>> -----Original Message-----
>> From: programmingblind-bounce@xxxxxxxxxxxxx
>> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Eric
>> Brinkman
>> Sent: Monday, September 14, 2009 3:20 PM
>> To: programmingblind@xxxxxxxxxxxxx
>> Subject: A few ISPF questions
>>
>> Hi listers,
>>
>> I'm using the scripts created by Glen Sepke on the mainframe where I
>> work, but I have a few questions.
>>
>> 1.  Is there a way to make Jaws not speak the line numbers at the
>> beginning of every line?
>>
>> 2.  Is there any way to read long lines without having to constantly
>> press F11 to scroll to the right?
>>
>> 3.  How do I configure the Home key to always take me to the command line?
>>
>> Thanks in advance.
>>
>> Eric
>> __________
>> View the list's information and change your settings at
>> //www.freelists.org/list/programmingblind
>>
>>
>> This e-mail and any attachments to it are confidential and are
>> intended solely for use of the individual or entity to whom they are
>> addressed.  If you have received this e-mail in error, please notify
>> the sender immediately and then delete it.  If you are not the
>> intended recipient, you must not keep, use, disclose, copy or
>> distribute this e-mail without the author's prior permission.  The
>> views expressed in this e-mail message do not necessarily represent
>> the views of Highmark Inc., its subsidiaries, or affiliates.
>> __________
>> View the list's information and change your settings at
>> //www.freelists.org/list/programmingblind
>>
>> __________
>> View the list's information and change your settings at
>> //www.freelists.org/list/programmingblind
>>
>>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.409 / Virus Database: 270.13.97/2370 - Release Date: 09/14/09
> 11:36:00
>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
>
__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: