[jawsscripts] Re: Help for writing scripts

  • From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 18 Mar 2010 23:38:42 -0000

JR,

  Can you see what the script is doing?  How it saves all the text from the 
full window area, then treats it as a single string, delimited by carriage 
returns.  Using some of FS's built in functions, the part of the string 
after the last carriage return is extracted, and this is the last line from 
the screen.  If your application has a status bar, this text will be what is 
displayed on the status bar, since the status bar is positioned at the 
bottom of the screen.  We can add to the script, treating the last line of 
text itself as a string delimited by space characters, and using exactly the 
same technique, extract any of the words we want to be spoken.  What you 
will need to do is tell us which words from the status bar you want spoken: 
is it the third and fourth words?  Is it the first and fifteenth words? 
Only you can say.

  Over to you.

  Martin


----- Original Message ----- 
From: <benedicjr@xxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Thursday, March 18, 2010 8:14 AM
Subject: [jawsscripts] Re: Help for writing scripts


> Hi. I see the saybottomline script, but there's no instructions how to 
> customize it for my needs. Is there any doccumentation for it? Such as how 
> to use and what are the parameters needed? I also want to know how can 
> turn it in an automatic function?
> Sorry to be a pain, but please have patients for me. Thanks. I really 
> apriciate your help.
>
> ----- Original Message -----
> From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Date: Wed, 17 Mar 2010 11:36:42 -0000
> Subject: [jawsscripts] Re: Help for writing scripts
>
>> First things first:
>>
>>   You need to open Script Manager, which you do with JAWSKey + 0 (that's 
>> 0
>> on the main keyboard, not the NumPad).  When Script Manager opens, hit
>> control + f4 to close the window holding the current application's 
>> scripts,
>> and open default.jss.  If you have done this before, then control + o 
>> will
>> bring up a dialog allowing you to do it again.  If not, you will need to
>> Open Shared File from the File menu at the top of the screen, which gives 
>> a
>> similar dialog.
>>
>>   When default.jss is open, hit control + l which opens a dialog listing 
>> all
>> available scripts.  Hit the S key then tab into the list and focus will 
>> be
>> on the first script whose name begins with the letter S.  Arrow down a 
>> few
>> times and you should hear the script you want announced.  Tab to the OK
>> button or just hit enter and focus will jump to the first line of that
>> script.  Read the script and see if it makes any sense.
>>
>>   Martin
>>
>>
>> ----- Original Message ----- 
>> From: <benedicjr@xxxxxxxxxxx>
>> To: <jawsscripts@xxxxxxxxxxxxx>
>> Sent: Wednesday, March 17, 2010 9:11 AM
>> Subject: [jawsscripts] Re: Help for writing scripts
>>
>>
>> >I can't see the SayBottomlinewindow. Can you instruct me how to do this?
>> >Yes the statusbar read command gives me too much info. And I want also 
>> >the
>> >function to read that automatically if new text displayed. can you give 
>> >how
>> >to do the automatically reading of wanted information or wanted area of 
>> >the
>> >screen?
>> >
>> > ----- Original Message -----
>> > From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
>> > To: <jawsscripts@xxxxxxxxxxxxx>
>> > Date: Wed, 17 Mar 2010 08:53:28 -0000
>> > Subject: [jawsscripts] Re: Help for writing scripts
>> >
>> >> Hi JR,
>> >>
>> >>   Did you get anywhere with this problem?  I don't know the 
>> >> application
>> >> you
>> >> are working with, but the JAWS hotkey JAWSKey + PageDown will read out
>> >> the
>> >> last line on the screen, and if a status bar is present, that will be 
>> >> the
>> >> line read.  Does that give too much information?  If so, then the 
>> >> script
>> >> SayBottomLineOfWindow(), which is in default.jss and is called by that
>> >> hotkey, can probably be modified to do what you want.  Have a look and
>> >> see
>> >> what you think.
>> >>
>> >>   hth
>> >>
>> >>   Martin
>> >>
>> >>
>> >>
>> >> ----- Original Message ----- 
>> >> From: <benedicjr@xxxxxxxxxxx>
>> >> To: <jawsscripts@xxxxxxxxxxxxx>
>> >> Sent: Thursday, March 11, 2010 11:16 AM
>> >> Subject: [jawsscripts] Help for writing scripts
>> >>
>> >>
>> >> > Hi. Anyone here know PopPeeper? I try to make an automatic read
>> >> > function
>> >> > for some items in the status bar through using a frame. But I found 
>> >> > out
>> >> > that it's not stable so that's why I want to make scripts with same
>> >> > function. I try to study but still no idea how that works. Can you
>> >> > please
>> >> > help me to write this functions? Or will you write some for me? 
>> >> > Please,
>> >> > it would be a great help. Thanks...
>> >> >
>> >> > JR
>> >> > __________
>> >> > Visit and contribute to The JAWS Script Repository
>> >> > http://jawsscripts.com
>> >> >
>> >> > View the list's information and change your settings at
>> >> > //www.freelists.org/list/jawsscripts
>> >> >
>> >>
>> >> __________
>> >> Visit and contribute to The JAWS Script Repository 
>> >> http://jawsscripts.com
>> >>
>> >> View the list's information and change your settings at
>> >> //www.freelists.org/list/jawsscripts
>> >>
>> >>
>> >>
>> > __________
>> > Visit and contribute to The JAWS Script Repository 
>> > http://jawsscripts.com
>> >
>> > View the list's information and change your settings at
>> > //www.freelists.org/list/jawsscripts
>> >
>>
>> __________
>> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>>
>>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
> 

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: