[jawsscripts] Re: Using OT_DEBUG?

  • From: "Donald Marang" <donald.marang@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 30 Apr 2009 12:30:03 -0400

I obviously can't tell you how to use OT_DEBUG.  It is a constant defined in 
hjconst.jsh, where all the output types are defined.  These types are used 
in certain Say functions like the following line:
SayMessage (OT_ERROR, "The Results window was not found!","Window not 
found!")

The first parameter is the output type which indicates to JAWS the message's 
desired behavior and verbosity.  The second and third parameters are the 
long and short messages.  Again, the verbosity settings determine whether 
the long or short message is spoken.  I believe that most output types are 
selectable in the verbosity settings.  However, I can not imagine why both a 
long and short message would be needed for the debug output type.

Experimenting with this output type has resulted in no speech and no 
understanding how too enable it in the verbosity settings.  Is it obsolete?

Don Marang
----- Original Message ----- 
From: "Haden Pike" <haden.pike@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Wednesday, April 29, 2009 3:50 PM
Subject: [jawsscripts] Re: Using OT_DEBUG?


> Hi. I haven't seen OT_debug before. How does it work and how do you use 
> it?
> Thanks.
> Haden
>
> --------------------------------------------------
> From: "Donald Marang" <donald.marang@xxxxxxxxx>
> Sent: Wednesday, April 29, 2009 12:10 PM
> To: <jawsscripts@xxxxxxxxxxxxx>
> Subject: [jawsscripts] Using OT_DEBUG?
>
>> Is there a way to use the output type, OT_DEBUG, in Say statements rather
>> than strategically placing SayString statements and later commenting them
>> out?  The fact that the constant exists implies that there is a way to
>> change verbosity settings to turn on and off the speaking of these
>> messages.  I wouldn't want to do this with detailed or trivial temporary
>> debug statements used to get insight into a particular problem.  These I
>> simply remove when the problem is resolved.
>> Don Marang
>>
>>
>> __________
>> 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
>>
>>
> __________
> 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
> 

__________ 
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: