[jawsscripts] Re: switch to configuration
- From: "Donald Marang" <donald.marang@xxxxxxxxx>
- To: <jawsscripts@xxxxxxxxxxxxx>
- Date: Thu, 27 Nov 2008 17:50:44 -0500
If you select "Insert function call..." from the Scripts menu and type
in"dialog" and then hit tab, you can get some information. You can use this
to get information on most JAWS functions. It also helps you fill in any
required parameters.
Here is the info from the FS Developers Network:
Function: DialogList
Description
This function, if activated from within a dialog, will present a list box
containing the controls of the dialog box. Select a dialog control and press
Enter to move to it, or press Alt+L to perform a left mouse click on the
desired item. Note: This function is designed for use within standard
Windows dialogs. It may not return complete information for nonstandard
dialog boxes.
Returns
Type: Void
Parameters
No Parameters
Version
This function is available in the following releases:
PAC Mate 1.10 and later
JAWS 4.51 and later
Don Marang
----- Original Message -----
From: "Mark" <torgersonenator@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Thursday, November 27, 2008 12:17 PM
Subject: [jawsscripts] Re: switch to configuration
> Hi
> Where do I find the simple function DialogList? I am limited in my
> scripting abilities but I am willing to try.
>
> God bless,
> Mark
> -- Currently in Pendleton, Eastern Oregon Regional At Pendleton, Oregon
> Overcast, 33°F Wind:Calm
> ----- Original Message -----
> From: "Donald Marang" <donald.marang@xxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Wednesday, November 26, 2008 9:15 PM
> Subject: [jawsscripts] Re: switch to configuration
>
>
>> Mark,
>>
>> JAWS does this often. Try taking a look at the simple function
>> DialogList.
>> I am planning on trying this function on a portion of the application I
>> am
>> working on to simplify things.
>>
>> Don Marang
>>
>>
>> ----- Original Message -----
>> From: "Mark" <torgersonenator@xxxxxxxxx>
>> To: <jawsscripts@xxxxxxxxxxxxx>
>> Sent: Wednesday, November 26, 2008 11:52 AM
>> Subject: [jawsscripts] Re: switch to configuration
>>
>>
>>> Hi
>>> Have you received any responses to your question? I love your idea
>>> of
>>> having a menu. I would like to convert the idea to make a list of items
>>> I
>>> can choose from on my Norton's screen.
>>>
>>> God bless,
>>> Mark
>>> -- Currently in Pendleton, Eastern Oregon Regional At Pendleton, Oregon
>>> Mostly Cloudy, Mist 30°F Wind:E-080° at 6mph
>>> ----- Original Message -----
>>> From: "Nicol Oosthuizen" <NOosthuizen@xxxxxxxxxxx>
>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>> Sent: Wednesday, November 26, 2008 1:24 AM
>>> Subject: [jawsscripts] switch to configuration
>>>
>>>
>>>> Hi all
>>>> I'm battling with a script.
>>>>
>>>> I want to create a menu so that I can choose an option from the menu
>>>> and
>>>> jaws must switch to the base configuration I have selected. The script
>>>> compiles fine without any errors but when I choose a number from the
>>>> menu jaws does not switch to that configuration. If I press the
>>>> assigned keystroke it pops up the menu I have created and I can move
>>>> between options fine, but when I press enter on an option it does
>>>> nothing. It doesn't switch to that base configuration.
>>>>
>>>> Please can someone have a look at my script.
>>>>
>>>> Script SwitchToDictionary ()
>>>>
>>>> var
>>>>
>>>> String menu,
>>>>
>>>> Int dictionary
>>>>
>>>> Let menu = "1|2|3|4|5|6|7|8"
>>>>
>>>> Let dictionary = DlgSelectItemInList (menu, "please select a dictionary
>>>> to switch to", 0, 1)
>>>>
>>>> If dictionary == 1Then
>>>>
>>>> SwitchToConfiguration ("1")
>>>>
>>>> ElIf dictionary == 2 then
>>>>
>>>> SwitchToConfiguration ("2")
>>>>
>>>> ElIf dictionary == 3 Then
>>>>
>>>> SwitchToConfiguration ("3")
>>>>
>>>> ElIf dictionary == 4 Then
>>>>
>>>> SwitchToConfiguration ("4")
>>>>
>>>> ElIf dictionary == 5 Then
>>>>
>>>> SwitchToConfiguration ("5")
>>>>
>>>> ElIf dictionary == 6 then
>>>>
>>>> SwitchToConfiguration ("6")
>>>>
>>>> ElIf dictionary == 7 then
>>>>
>>>> SwitchToConfiguration ("7")
>>>>
>>>> ElIf dictionary == 8 Then
>>>>
>>>> SwitchToConfiguration ("8")
>>>>
>>>> EndIf
>>>>
>>>>
>>>>
>>>> EndScript
>>>>
>>>>
>>>> Please Note: This email and its contents are subject to our email legal
>>>> notice which can be viewed at
>>>> http://www.sars.gov.za/Email_Disclaimer.pdf
>>>>
>>>> __________
>>>> 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
>>
>
> __________
> 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: