I thought that I had replied to this.. I mean, I know that I replied to
this, but I do not see my response. This is what I sent a while ago.
Hi Dan,
I suppose that there have been some changes in 2.0 that were not
properly updated in this document...
Dan Lewis wrote:
I have downloaded this file to learn how to work with macros from
scratch. I hope to have some comments and suggestions as I go along.
Problem #1: This paragraph is at the top of page 10:
"Assign the macro to a keystroke. To do this, click Tools >
Configure to open the Configuration dialog, and then select the
Keyboard tab. Macro
"Assign the macro to a keystroke. To do this, click Tools > CUSTOMIZE to
open the CUSTOMIZE dialog, and then select the Keyboard tab. Macro
libraries are at the bottom of the Category list.
At this point, if you scroll down to the bottom of the category list
(lower left corner window), you will find OpenOffice.org Macros. Expand
the list of macros, and find the module that contains the macro that you
desire. When you highlight a module, the contained macros show up in the
FUNCTION list box. Select the macro that you want to assign in the
FUNCTION list box. Next, select the shortcut key from the SHORTCUT KEYS
window, which is the large top middle list box. Highligt your desired
shortcut and click the MODIFY button. You can set the shortcut to only
be available for the current program (Writer, Calc, etc) or the entire
suite (OpenOffice.org).
You can also find this by clicking Tools > Macros > Organize Macros >
OpenOffice.org Basic, selecting the specific macro, and then clicking
the Assign button to launch the Configuration window.
Change "Configuration window" to be "Customize dialog".
Various tabs in this dialog allow you to assign the macro to execute
as a menu item, from a keyboard key, a toolbar icon, or a system event."
But how to I assign the macro to a keystoke? Specifically, what do
I do after I have located the specific macro (HelloWorld2) at the
bottom of the Category list? Yes there are tabs in this dialog, but
what are the steps required in any one of these dialogs?
Problem #2: How do I assign one of the macros I have created to an
icon? (What are the steps?)
Dan
Hmm, I have NEVER assigned a macro to an icon. I assume that it can be
done, but I have never done it.
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info: http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html