Page 1 of 1
Macro to open a menu/submenu from the menubar
Posted: Sun Aug 18, 2024 1:36 am
by Crc3
I have been searching and searching for a way to open a menu item via basic macro.
I have asked this on "AskLibreOffice.org" but they could not help. If anyone here can help it would be much appreciated.
Re: Macro to open a menu/submenu from the menubar
Posted: Sun Aug 18, 2024 1:47 am
by FJCC
I don't recall ever seeing a macro that manipulates the user interface. Can you explain why you want to do this? There may be a different way to achieve your goal.
Re: Macro to open a menu/submenu from the menubar
Posted: Sun Aug 18, 2024 1:55 am
by Crc3
I am creating a custom toolbar with the things I use most. Some things I would like to put on there are simply menus such as
Tools - Macro. In Andropen Office you have to click a menu button then find Tools then find Macro. On a toolbar it would be 1 click and the macro menu would be open.
Re: Macro to open a menu/submenu from the menubar
Posted: Sun Aug 18, 2024 2:11 am
by robleyd
It is unlikely that anyone here will be able to help; you could try your luck at support @ andropenoffice.com
Re: Macro to open a menu/submenu from the menubar
Posted: Sun Aug 18, 2024 3:36 am
by FJCC
@crc - In OpenOffice, you can add most of the macro commands to a new or existing toolbar through the menu Tools -> Customize. That may get you all, or almost all, you want very easily. I don't know if Andropen Office has the same facility.
Re: Macro to open a menu/submenu from the menubar
Posted: Wed Aug 21, 2024 1:32 am
by Crc3
Thank you FJCC. I have found that, however I would like a couple of other sub menus as well. If I spread each item out it is too many. I have written macros for each item I want and a macro to create a PopUpMenu I just thought it would be simpler to just open the menu. I didn't realize the menu Bar is so separated from everything else. Thank you for your help.