[bcab] Re: Customizing toolbars

Dave,

Hats of to Steve Griffiths.  An absolutely excellent and
well written tutorial.

George.

-----Original Message-----
From: bcab-bounce@xxxxxxxxxxxxx
[mailto:bcab-bounce@xxxxxxxxxxxxx] On Behalf Of David
Reynolds
Sent: 28 September 2006 20:20
To: bcab@xxxxxxxxxxxxx
Subject: [bcab] Re: Customizing toolbars

Steve,
I'm amazed. It worked.
This particular task is being set up for a sighted customer,
who wants all these things in a toolbar. I was going to give
up and stick them in the work menu.

I'm happy!

Thanks,

Dave.
----- Original Message -----
From: "Griffiths, Steve" <Steve.Griffiths@xxxxxxxxxxx>
To: <bcab@xxxxxxxxxxxxx>
Sent: Thursday, September 28, 2006 2:29 PM
Subject: [bcab] Re: Customizing toolbars


> Dave,
>
> Be warned that this reply contains about 1200 words!
>
> I've written a long Word tutorial that contains a section
which covers
> your subject; I'm pasting the relevant bit below. There
are three parts
> to it: putting a macro on a toolbar as part of creating
the macro,
> putting it on afterwards, and removing it from the
toolbar. The tutorial
> was written for Word 97 and JAWS 3 up to JAWS 6; hopefully
later
> versions will not be too different. Here goes...
>
> 1. To assign a macro to a toolbar during recording
>
> Open the Tools menu and choose the Macro item.  In the
submenu that
> opens, choose Record New Macro.  Give the macro a name and
then tab once
> to a button that JAWS will not read properly; this is the
Assign macro
> to Toolbars button.  Press Enter to activate the button
and the
> Customise dialogue will be opened with focus on the
Commands page.
>
> Focus will be in a list box labelled Categories that
contains one item,
> Macros.  Press Tab to move to a second list box labelled
Commands, which
> will contain the name of the current macro, preceded by
> "TemplateProject.NewMacros.".  That only leaves room
within the control
> for the first character of the name you have given your
macro, but as
> it's the only one in the list there shouldn't be any
confusion.
>
> Control + Insert + NumPad slash - to indicate that we want
to drag the
> currently selected macro somewhere else.
>
> Insert + R - to put the JAWS cursor in unrestricted mode.
The macro
> appears in the Customise dialogue box window, and we need
to be able to
> move the JAWS cursor outside this window and also outside
the
> application window (which in the case of Word is the
document window).
>
> PageUp - will take the JAWS cursor to the top of the
screen, which is
> the title bar.
>
> Press DownArrow twice to move the JAWS cursor over the
first toolbar.
> If this is the standard toolbar, JAWS will read out a
percentage, which
> is from the zoom factor control.  For the purpose of this
exercise I
> will assume this is the toolbar you want to use; the
following method
> will work for any toolbar once it is available on screen.
>
> Most toolbar icons are graphics which the JAWS cursor
usually ignores
> because they are of no interest and are therefore
unlabelled.  The
> problem with this situation is that for our current
purpose, we want to
> be able to identify at least the end of the toolbar, and
in order to do
> this JAWS must recognise the toolbar icons.
>
> To achieve this, open the Adjust JAWS Verbosity dialogue
with Insert + V
> and DownArrow to Graphics Verbosity.  This is currently
set to labelled;
> press SpaceBar until it is set to all, then press Enter to
close the
> dialogue.
>
> Press NumPad Minus again to make sure the JAWS cursor is
in use, then
> press End to move to the last icon on the toolbar.
>
> Press Control + Insert + NumPad Slash to drop the macro
onto the
> toolbar.  Word will automatically place the macro in front
of the
> current icon.
>
> Press NumPad star to right-click the new icon.  This
brings up a context
> menu for the item.  Press NumPad Plus to reactivate the PC
cursor and
> DownArrow through the menu to the third item, labelled
Name.  This will
> contain the name of the item as it appears in the menu,
which will still
> be the name you gave it will preceded by
"TemplateProject.NewMacros."
> without the quotes.  I would suggest you amend it to the
name you want
> by pressing Enter on the menu item to go into edit mode
and highlight
> the current name.  The PC cursor does not read back text
from this edit
> area, although typing echo works as usual.
>
> You can also identify one character of the toolbar item as
a shortcut by
> inserting an ampersand character (Shift + 7) in front of
the character.
> This character can be used together with the Alt modifier
to run the
> macro from within your document - make sure you don't use
a character
> that is already used by a menu heading.
>
> Press Enter to indicate when you have finished changing
the name of the
> toolbar icon, and then press Escape to close the menu and
the Customise
> dialogue box.
>
> The recording of your macro now begins.
>
> 2. To place an existing macro on a toolbar or menu
>
> This is done in much the same way as explained above. The
only
> difference is that this time you have to pick the macro
you want to put
> on the toolbar.
>
> To do this, open the Tools menu and choose Customize.  On
the resulting
> dialogue box, press Shift + Tab to move to the toolbar tab
and then use
> LeftArrow or RightArrow to move to the Commands tab.
>
> Tab into the categories list box and use the letter M
twice to jump to
> the Macros item.
>
> Tab to the Commands list box and arrow down to the macro
you want to put
> on the menu or toolbar.   The name of the items in this
list may be
> difficult to recognise, as each will start with the words
> "TemplateProject.NewMacros.", and that only leaves room
for the first
> character of the name you have given your macro.  If need
be, you can
> use the JAWS cursor to read the name one letter at a time
to confirm and
> choose the one you are interested in.
>
> Once the macro is identified, use the method outlined
above to get it
> onto the toolbar or menu.
>
> 3. Removing macros from a toolbar or menu
>
> Before any changes can be made to toolbars or menus, the
Customize
> dialogue box must be open.  This is found near the bottom
of the Tools
> menu.
>
> Once the dialogue is on screen, activate the JAWS cursor
with NumPad
> Minus.  Press PageUp to move the JAWS cursor to the title
bar of the
> Word document, and check this by pressing Insert +
UpArrow.  If Word's
> title bar is not read, the JAWS cursor must be in some
other window, so
> press Insert + R until JAWS reports it is unrestricted,
and then try
> PageUp again.
>
> To remove a macro from toolbar, DownArrow until the name
of the macro is
> read out.  When this happens, the JAWS cursor is on the
correct line, so
> press Home to move to the beginning of it and then Control
+ RightArrow
> to move to the macro name.
>
> If the macro is on a menu, you need to know which menu it
is on.  With
> the JAWS cursor on the title bar, pressing DownArrow once
will get it to
> the menu bar, then use Control + RightArrow or Control +
LeftArrow to
> find the menu heading, and press NumPad Slash to open it.
Press NumPad
> Minus to reactivate the JAWS cursor, and restrict it to
the current
> window if necessary with Insert + R.  Then DownArrow
through the menu
> items until you reach the one you want to remove.
>
> Once you have your focus on the name of the macro, press
Control +
> Insert + NumPad Slash to indicate you want to drag it
somewhere else.
> Now move the JAWS cursor to anywhere except a toolbar or
menu - I
> usually just press PageDown to move to the status line -
and press
> Control + Insert + NumPad Slash to drop the macro.  This
is the
> equivalent of dragging the macro off the toolbar or menu
with the mouse.
>
> Lastly, revert to the PC cursor with NumPad Plus and press
Escape to
> close the Customize dialogue.
>
> Steve
> -----Original Message-----
> From: bcab-bounce@xxxxxxxxxxxxx
[mailto:bcab-bounce@xxxxxxxxxxxxx] On
> Behalf Of David Reynolds
> Sent: 27 September 2006 22:13
> To: bcab@xxxxxxxxxxxxx
> Subject: [bcab] Customizing toolbars
>
> Hi again,
> I've just completed a word template which contains various
task specific
> macros. I'd like them to appear on a toolbar, but thee
doesn't appear to
> be a non-pointy-clicky way of getting them there.
> Any ideas,
>
> Dave.
>
> -- 
> DISCLAIMER:
>
> NOTICE: The information contained in this email and any
attachments is
> confidential and may be privileged.  If you are not the
intended
> recipient you should not use, disclose, distribute or copy
any of the
> content of it or of any attachment; you are requested to
notify the
> sender immediately of your receipt of the email and then
to delete it
> and any attachments from your system.
>
> RNIB endeavours to ensure that emails and any attachments
generated by
> its staff are free from viruses or other contaminants.
However, it
> cannot accept any responsibility for any  such which are
transmitted.
> We therefore recommend you scan all attachments.
>
> Please note that the statements and views expressed in
this email and
> any attachments are those of the author and do not
necessarily represent
> those of RNIB.
>
> RNIB Registered Charity Number: 226227
>
> Website: http://www.rnib.org.uk
>
>
>
> ***  BCAB List administration ***
>
> If you wish to unsubscribe, set vacation,, request a
digest or carry out 
> routine maintenance on your subscription to the list then
go to:
> http://www.bcab.org.uk/mailing-list.html
>
> If you wish to discuss the administration of the list then
contact:
> secretary@xxxxxxxxxxx
> 

***  BCAB List administration ***

If you wish to unsubscribe, set vacation,, request a digest
or carry out routine maintenance on your subscription to the
list then go to:
http://www.bcab.org.uk/mailing-list.html

If you wish to discuss the administration of the list then
contact:
secretary@xxxxxxxxxxx

***  BCAB List administration ***

If you wish to unsubscribe, set vacation,, request a digest or carry out 
routine maintenance on your subscription to the list then go to:
http://www.bcab.org.uk/mailing-list.html

If you wish to discuss the administration of the list then contact:
secretary@xxxxxxxxxxx

Other related posts: