[jawsscripts] Re: JSX Questions

  • From: "Donald Marang" <donald.marang@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 29 Aug 2009 14:27:39 -0400

Hi Sean,
Thanks, that is a great idea that I would like to add to most of my scripts! 
However, on second thought, it is not meant for normal use.  I have been 
considering adding items to the verbosity options before.  I keep putting it 
off since it seems like it is somewhat complicated and would take a bit of a 
learning curve.  Could anyone take a first crack at this DEBUG verbosity 
entry or provide a simple example?

Don Marang


----- Original Message ----- 
From: "Sean Randall" <seanr@xxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Saturday, August 29, 2009 9:15 AM
Subject: [jawsscripts] Re: JSX Questions


> Don,
>
> Regarding your first problem, is there no way within the scripts 
> themselves
> to toggle the speaking of Debug messages?   This could be accomplished by
> writing and removing the key from the JCF file, if I understand the 
> process;
> an easily-integratable option into the verbosity dialog within the
> applications.
>
> Sean.
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Donald Marang
> Sent: 28 August 2009 10:55 PM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] JSX Questions
>
> Hi Jamal and others,
> I have been using jsx to package scripts for VMware Player and 
> Workstation.
> As you might have noticed, Chris Hallsworth started these scripts and I 
> have
> been working with him to add a little and am package them.  The Player
> scripts are a no brainer to package with jsx.  Jsx does a good job of
> packaging the Workstation as well.  In fact, I have packaged them 
> together.
> JAWS comes with a "vmware.jss" script file, so I placed our scripts in
> "VMwareWorkstation.jss" file and let jsx merge them together.  I am using
> the statement at the top of the script file to instruct jsx how to merge.
>
> I have two additional things I would like the merge to handle, but I do 
> not
> know if it is possible.
>
>
> 1.  I like to add debug messages throughout certain code in the format:
> SayMessage (OT_DEBUG, "Menu Event: new mode = " + IntToString (iMode) + ",
> handle = " + IntToString (hMenu))
>
>
>
> To enable this to speak I add the following line to the JCF file:
>
> [OutputModes]
> DEBUG=1|1|1|DEBUG Message
>
>
> Before I package the scripts I place a semicolon in front of the second 
> line
> so that these statements will be silent. When this file gets merged, even 
> if
> there was not previously a JCF file present, the section name and a dummy
> line gets placed in the "vmware.jcf" file as follows:  .
>
> [OutputModes]
> (NONE)
>
> The problem is that it can be handy if a user has a problem, to tell them 
> in
> an email to remove the semicolon and listen for certain information at the
> spot where they have problems or just the last thing it said before going
> south.  I currently get around this by simply adding a "vmware.jcf" file 
> to
> the package with these commented lines already added .  The only problem
> with this solution is that this would overwrite any JCF file there before
> installation.  Would it be possible to have the merge process add these
> comment lines to the result file?  Perhaps only specially marked comment
> lines like a double semicolon (;; ) would be copied to the result file.  ?
>
>
>
> 2.  I was able to use the auto graphics labeler on this application to 
> make
> sense of some of the dialogs.  I may need to label more manually.  I would
> like to add this information in the package in the file,
> "VMwareWorksttation.jgf" file, and have it merged with any graphics that 
> the
> user labeled in the "vmware.jgf" file.  However, jsx does not merge these
> files for me.  Is it possible to get jsx to do this?
>
>
>
> 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: