[jawsscripts] Re: ifndef (if not defined ) functionality?

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Wed, 4 Mar 2009 11:01:51 -0500 (EST)

I was thinking about this problem and wonder if the following workaround
may work.  I assume that the script in question is only available as a
compiled .jsb file (no .jss source code).  Try creating a container file
that has a Use statement referencing the .jsb.  Include the undefined
constants at the top of the the container file (or in another .jsb that
it references).

Jamal

On
Wed, 25 Feb 2009, Victor Tsaran wrote:

> Date: Wed, 25 Feb 2009 22:26:41 -0800
> From: Victor Tsaran <vtsaran@xxxxxxxxx>
> Reply-To: jawsscripts@xxxxxxxxxxxxx
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Re: ifndef (if not defined ) functionality?
>
> On 2/25/2009 3:15 PM, Cohn, Jonathan C [IT] wrote:
> > There is a value that one of my scripts is using that is a constant that 
> > appears to not have been defined in Version 7 and perhaps 8.
> > Is it possible to have a statement to define a constant if it has not been 
> > defined?
>
> Man, how much I wish this functionality was available... Unfortunately,
> precompile directives are not part of JAWS scripting language.
>
> >
> > Thanks,
> > on
> >
> >
> > ________________________________
> > This e-mail may contain Sprint Nextel Company proprietary information 
> > intended for the sole use of the recipient(s). Any use by others is 
> > prohibited. If you are not the intended recipient, please contact the 
> > sender and delete all copies of the message.
> >
> > __________
> > 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
> >
> >
>
>
> --
> --- --- --- ---
> Get a sneak preview of my album at:
> www.victortsaran.com
> --- --- --- ---
> __________ 
> 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: