The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.
From:
Kevin HuberSubject:
Re: Proofreading script on SendspaceDate:
Fri, Nov 12, 2010 2:12:15 pmHi Chip:
Which script contains the code which you listed?
Kevin Huber
On 11/11/10, Chip Orange wrote:
Which script contains the code which you listed?
Kevin Huber
On 11/11/10, Chip Orange wrote:
Oh yes, nested submenus are quite easy. below is an example of a menu of
mine, which has sever items in a submenu; the basic idea is that you begin
the sub menu with the menu declaration tag , then the text of the
menu name, then instead of following up with the closing tag, you
begin defining all the items which are choices in your submenu:
Points of Interest
Announce POIs
Play a Sound for POIs
instead of Speech
Use POIs From
MapPoint
Use Other
POIs
Choose POI Categories to be
Used
When you go to find out which item was selected in your handler, you treat
them all as if they were at the top level; you do nothing special because
the items were down in a submenu, and just test for their item id's, like
you would any other top level menu item.
hth,
Chip
-----Original Message-----
From: Kevin Huber [mailto:kevin.huber1@gmail.com]
Sent: Thursday, November 11, 2010 11:09 AM
To: gw-scripting@gwmicro.com
Subject: Re: Proofreading script on Sendspace
Hi J.J.:
That sounds like a good idea. I will just have to figure out how to do it,
but it does sound like a good idea.
I was also wondering about nested submenus. Is it possible to have nested
submenus?
Kevin Huber
On 11/10/10, J.J. Meddaugh wrote:Kevin,
What if you added a dialog box with checkboxes for the variousoptions? Then after they pressed OK on the box, you would just need to
check the state of the checkboxes and apply the necessary changes.You could link to this dialog box from the script menus.
J.J> Meddaugh - ATGuys.comYour Assistive Technology Experts
----- Original Message -----From: "Kevin Huber"
To: "gw-scripting"Sent: Wednesday, November 10, 2010 5:00 PM
Subject: Re: Proofreading script on Sendspace
Hi Steven:I think the help dialog will only allow you to change the hotkeys,
rather than to activate them. I want to activate the hotkeys andstay in the menu, if that is possible.
For example, when I want to turn Say Attributes On, I want to go intothat item in the Proofreading Submenu and press Enter rather than
pressing the hotkey shift-alt-a. I want to add this feature forthose people who can't, or do not wish to, remember hotkeys.
Kevin Huber
On 11/10/10, Stephen Clower wrote:Kevin,
Why not link to your script's help from the menu and use the hotkeymanager in the standard help dialog? What you propose with the menus
is highly unusual.
Regards,Steve
On 11/10/2010 4:11 PM, Kevin Huber wrote:Hi:I have put a revised version of my Proofreading script on Sendspace
and a link to download it has been sent to the list.I have put all the hotkeys except for shift-alt-h for the list of
hotkeys and shift-alt-s to save the settings, in a submenu in theScript Menus pulldown menu in the Window-eyes control panel.
As you will see, if you press Enter on any of the items in theProofreading submenu, save for Script Help, you are taken out of
the submenu and left in the Window-eyes Control Panel.I think it would be better if it stayed in the Proofreading
submenu, but I don't know how to accomplish this. I would welcomeany suggestions on how to do this or any other suggestions on what
I could do to improve this script.Thank you very much in advance.
Kevin Huber--
Stephen ClowerProduct support specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825260-489-3671 * gwmicro.com




