Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Add a menu item in a Wolfram desktop system
ResourceFunction["AddMenuItem"]["after",item] adds a new menu item to the Wolfram sytem front end after the specified menu item. | |
ResourceFunction["AddMenuItem"][token,{item1,item2,…}] adds several menu items. |
Create an alternative menu item for maximizing the input notebook window after the Close Other Windows menu item:
| In[1]:= | ![]() |

The current window size:
| In[2]:= |
| Out[2]= |
Choose the new menu item or press the keyboard shortcut to maximize the current notebook window and check the new window size:
| In[3]:= |
| Out[3]= |
Add a delimiter and a menu item for opening the Function Repository webpage:
| In[4]:= | ![]() |

See possible menu item tokens to place new items after:
| In[5]:= | ![]() |
| Out[5]= | ![]() |
Menu items created with AddMenuItem can be removed with the resource function RemoveMenuItem:
| In[6]:= | ![]() |
| In[7]:= |
This work is licensed under a Creative Commons Attribution 4.0 International License