[JAWSLite] Re: Two Scripting Questions

In your first question, look at the jsd file and search for :optional key 
word.
Here is an example:
:function ProcessCustomerContactData
:Synopsis Processes client's personal data.
:Description This function processes the client's data entered in message 
box function and passed by reference to this function.
:Param string/byRef/sFirstName String for first name.
:Param string/byRef/sLastName String for Last name.
:Optional
:Param string/byRef/sMiddleInitial String for optional middle initial.
:Param int/byRef/iAge Person's age optional


Thanks,
Dennis Brown
----- Original Message ----- 
From: "Peter Torpey" <ptorpey@xxxxxxxxxxxxxxxx>
To: <jawslite@xxxxxxxxxxxxx>
Sent: Wednesday, July 23, 2008 4:29 PM
Subject: [JAWSLite] Two Scripting Questions


>
> 1. Thanks to someone on this list, I now know how one can pass
> parameters to scripts/functions by either value or reference.  My question
> now is, is it possible (and if so how) to specify that one or more of the
> arguments is optional?
>
> 2. In my Keyboard mapping file for a JAWS script, I set:
> Alt+Control+Shift+Q=ScriptName
>
> The script only seems to capture the keystroke when I hit the left Alt
> button on my keyboard.  Is there a way to specify that either Alt key 
> should
> capture the keystroke or do I somehow have to map both the left and right
> Alt keys (and how)?
>
> Thanks.
>
> If you like you can reply directly to me at:
> ptorpey@xxxxxxxxxxxxxxxx
>
> -- Pete
>
> ===================
>
> Take your shshopping life back at http://tinyurl.com/32rsxz
>
> View the list's information at
> http://www.freelists.org/list/jawslite
>
> 

===================

Take your shshopping life back at http://tinyurl.com/32rsxz

View the list's information at 
http://www.freelists.org/list/jawslite

Other related posts: