[jawsscripts] Re: Use of SayString in final scripts?

  • From: "Rui Fontes" <rui.fontes@xxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sun, 28 Dec 2008 19:11:41 -0000

Hello,

As a translator of Jaws I allways recommend the use of messages defined in 
.JSM files, since it is much more easier to translate... If the messages are 
only to debug purposes, I think it is better to comment them...

Rui

----- Original Message ----- 
From: "Donald Marang" <donald.marang@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Sunday, December 28, 2008 1:38 AM
Subject: [jawsscripts] Use of SayString in final scripts?


I use the SayString extensively when starting and debugging a new script. 
Now that things are primarily working I am consolidating and migrating to 
formatted messages.  To what extent do you professionals go with eliminating 
the SayString statements?  Do you delete vital debug statements or just 
comment them out?  Many of my SayString statements are for Else branches 
that are rare, some I have never encountered.  Some are very small.  In the 
following line, would you recommend defining the string, "new", as a string 
constant or a message?  This line is to announce the status of the current 
item in the call or voice mail log.
If GetCharacterAttributes () & ATTRIB_BOLD Then SayString ("new ") EndIf



I am not done debugging, but most of my scripts are stable.


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



-- 
Estou utilizando a versão gratuita de SPAMfighter para usuários privados.
Foi removido 58697 emails de spam até hoje.
Os usuários pagantes não têm esta mensagem nos seus emails.
 Adquira SPAMfighter grátis aqui: http://www.spamfighter.com/lpt


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