- When a menu item is selected, the corresponding action is the execution of a function. In this example, a "Square Component" function (which is a vbs script file) will be added as a menu item.
- The EventHandlers.vbs file is modified to include a new subroutine which will add the "Macro" menu in MagNet.

- After all the modifications are made, the new menu and menu item are available:



