Macro to open a menu/submenu from the menubar

Issues with smartphones, tablets and all portable devices
Post Reply
Crc3
Posts: 4
Joined: Sun Aug 18, 2024 1:27 am

Macro to open a menu/submenu from the menubar

Post 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.

 Edit: Link to AskLO question robleyd, moderator 
Last edited by robleyd on Sun Aug 18, 2024 2:07 am, edited 1 time in total.
Reason: Add link to AskLO post
Android Version 11/AndrOpen Office Version 5.4.5 / 45642/Apache OpenOffice Version 4.1.15/X Window System/Version 11 Release 7.7
FJCC
Moderator
Posts: 9459
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Macro to open a menu/submenu from the menubar

Post 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.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Crc3
Posts: 4
Joined: Sun Aug 18, 2024 1:27 am

Re: Macro to open a menu/submenu from the menubar

Post 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.
Android Version 11/AndrOpen Office Version 5.4.5 / 45642/Apache OpenOffice Version 4.1.15/X Window System/Version 11 Release 7.7
User avatar
robleyd
Moderator
Posts: 5269
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Macro to open a menu/submenu from the menubar

Post by robleyd »

It is unlikely that anyone here will be able to help; you could try your luck at support @ andropenoffice.com
Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.8.3.2; SlackBuild for 24.8.3 by Eric Hameleers
---------------------
Roses are Red, Violets are Blue
Unexpected '{' on line 32
.
FJCC
Moderator
Posts: 9459
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Macro to open a menu/submenu from the menubar

Post 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.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Crc3
Posts: 4
Joined: Sun Aug 18, 2024 1:27 am

Re: Macro to open a menu/submenu from the menubar

Post 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.
Android Version 11/AndrOpen Office Version 5.4.5 / 45642/Apache OpenOffice Version 4.1.15/X Window System/Version 11 Release 7.7
Post Reply