[jawsscripts] Re: a custom sayline script issue, where JAWS should tell the control type and it doesn't.

  • From: Jackie McBride <abletec@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Fri, 7 Aug 2009 09:07:48 -0700

Jitendra, u need to use the home row utilities, or, better yet, Doug
Lee's bx toolbox in order to see the classnames, windownames, etc.,
that jaws is reporting.

On 8/7/09, Jitendra <jeet.invincible@xxxxxxxxx> wrote:
> Hello friends, I have a say line script, and perhaps I may need to
> modify the say next, prior line and say current word script as well,
> because it is needed, but the problem is that: when I issue the say line
> command, it does what it should, but does not tell the control type as
> it previously was doing, and not the control name also. so check it.
> Script SayLine ()
> If InScheduleDialog () && GetWindowClass (GetCurrentWindow ()) ==
> "TimeEdit"then
> Let str1 = GetWindowText (GetCurrentWindow (), false)
> Let str1 = "The time"+Str1
> ;Note: the window name here is "set time".
> ;is it the correct way of calling the same script function, to spell the
> text I want, or I should call it only once.
> If IsSameScript () then
> SpellString (str1)
> Else
> SayMessage (OT_no_disable, str1 )
> EndIf
> Return
> ;If I don't put a return there, JAWS suffixes "Blank" word after
> performing the default version of sayline script.
> Elif inSetMeetingDialog () && GetWindowClass (GetCurrentWindow ()) ==
> "Edit" then
> Let str1 = GetWindowText (GetCurrentWindow (), false)
> ;Note: the window prompt for the edit box is: "Set meating" here, and
> control type is "edit" and jaws without MSAA detects it, but sayline
> script doesn't.
> Let Str1 = "current meeting time is:"+Str1
> If IsSameScript () then
> SpellString (str1)
> Else
> SayMessage (OT_no_disable, str1 )
> EndIf
> Return
> EndIf
> PerformScript SayLine()
> EndScript
> 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: