[jawsscripts] Re: Adding other script files to my application script

  • From: Jonathan Cohn <jon.c.cohn@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sun, 20 Aug 2017 16:45:56 -0400

None of these files are actually script files they are more like definitions. 

The .jsh files are generally used to associate constants with values. Something 
likemsaa_toolbar = -7  
So you can use a descriptive name instead of a number when coding. So if you 
are not using any UIA functions then you won't need the UIA.jsh On the other 
hand, it shouldn't effect the final compiled code at all if you include one of 
these files and yet don't use them. 

.

Where you are truly adding in code from libraries is when you use the "use" 
command.  This command allows all scripts and functions available from the 
specified  module to be available in your scripts. Several of these you don't 
need to include because they are in "use" statements from the default.jss file 
and are thereby automatically available to you to use.

So any string of characters in your script has to be defined implicitly or 
explicitly variables constants and globals are defined in .jsh, or .jsm files 
by using an include command. You can easily view these files with script 
utility any text editor. Functions and Scripts that are not defined either in 
JAWS core or in the default.jss file and all the files that it includes must 
either be defined by you or else be incorporated with use statements.
  
HTH,

Jonathan

__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: