[jawsscripts] Re: Help me in a SayPriorLine custom script

Jitendra, this is tough since u didn't include the entire code. However:
In situations like those u seem to be describing, I often do the
following sequence:
a) Turn speech off;
b) use my cursor keys or click to focus where I need to be;
c) Issue either a pause or delay, depending on how much time may be needed;
d) Save the current cursor position, activate the invisible cursor &
route it to the pc cursor;
e) Use whatever checks I need to in order to see if what I'm looking
for is present; sometimes, the saycolor (insert keyboard 5) function
does not report accurately & I often write a test script using
GetColorText & GetColorBackground to get accurate colors, then use
those colors to verify whether the condition is true or not;
f) If the conditions are met, then speak or do whatever, if not, then not.
g) Restore all things, e.g., turn speech on & restore & reactivate the pcCursor.

I don't even know if that could possibly be helpful, but...

On 9/22/08, Jitendra <jeet.invincible@xxxxxxxxx> wrote:
> Hello friends, I created the following script to say the priorlines, in
> that listbox was talking about last night, but if I don't put the
> priorLine function in it,
> it reads the current item as sayline script does, but if I put the
> function, then it first reads the previous item it moves on without
> checked or unchecked state, then reads with state, and then position,,
> but I want it to read just the state and position, or item with state,
> and then position, codes below. help me please
> Script SayPriorLine ()
> Var
>      String WinClass
> Let WinClass = GetWindowClass (GetFocus ())
> If Winclass == "TPTListView"
> ||(  winclass == "TPTShellList") then
> ;this checkmarking function checks for the bold font, if present, it
> says: "Marked", and if not, then It says: "Unmarked", for some other
> listview,
> ;a problem in it is also,
> ;when I press up arrow key, and the current item is marked or bolded,
> but the item on the cursor was previously  ;staying was not, it reads
> the current item as unmarked, but it should say "marked",
>
> CheckMarking ()
> Elif WinClass == "TFDCheckListBox" then
> PriorLine ()
> Pause ()
> sayListstate()
> ;this function is used to say the state of the items found in list. the
> code I sent last night.
> Return
> EndIf
>
> PerformScript SayPriorLine()
> EndScript
> Help me please
> Thank you, Jitendra.
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>


-- 
Change the world--1 deed at a time
Jackie McBride
Check out my homepage at:
www.abletec.serverheaven.net
& please join my fight against breast cancer
<http://teamacs.acsevents.org/site/TR?px=1790196&pg=personal&fr_id=3489>
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: