[jawsscripts] Re: Wondering why I see constants included in.jsm files for many scripts.

  • From: "Jeremy Hartley" <jeremyhartley@xxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 15 Jan 2009 10:32:39 -0800

Ahhh, ok.  That makes a lot of sense.

I figured there had to be something to it since almost all scripts that came 
with jaws, I have noticed constants in the jsm files.  But yeah, the 
translation thing makes perfect sense.

Thanks.

Jeremy

----- Original Message ----- 
From: "Rui Fontes" <rui.fontes@xxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, January 13, 2009 6:28 AM
Subject: [jawsscripts] Re: Wondering why I see constants included in.jsm 
files for many scripts.


> In my opinion, such constants are included in JSM because they need to be
> translated, and that way, it is only needed to translate JSM files, do not
> touching the JSH files...
>
> Rui
>
> ----- Original Message ----- 
> From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Tuesday, January 13, 2009 12:31 PM
> Subject: [jawsscripts] Re: Wondering why I see constants included in.jsm
> files for many scripts.
>
>
> As far as I know, these are conventions or recommendations.  It makes it
> easier to maintain scripts if you know where to look for constants
> messages and other structures.  it does not matter to The compiler where
> these are found as long as they are coded properly.
>
> David Farough
> Application Accessibility Coordinator/coordonateur de l'accessibilité
> Information Technology Services Directorate /
> Direction des services d'information technologiques
> Public Service Commission / Commission de la fonction publique
> Email / Courriel:  David.Farough@xxxxxxxxxxxxx
> Tel. / Tél:    (613) 992-2779
>
>>>> "Jeremy Hartley" <jeremyhartley@xxxxxxxxxxx> 10:37 pm Monday,
> January 12, 2009 >>>
>
> Is including certain constants in .jsm files more of an organizational
>
> technique?  Since you use include statements in script files, I would
> suppose you could technically have constants anywhere as long as you
> include
> the file in a script?
>
>
>
>
>
>
> __________
> 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
>
>
>
> -- 
> Estou utilizando a versão gratuita de SPAMfighter para usuários privados.
> Foi removido 58783 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
> //www.freelists.org/list/jawsscripts
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus 
> signature database 3762 (20090113) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> 

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