You might save time creating new menu items if you duplicate existing menu items. A duplicate menu item has the same properties and script as the original menu item. You might be able to modify a long script slightly to make it work for your duplicate menu item.
To duplicate a menu item or a submenu item:
Select the menu item or the submenu item to duplicate.
Select Edit>Duplicate or press Ctrl+T.
The duplicate item displays at the same level of the menu, following the item you selected. The name of the duplicate menu item is unique.
Change the text of the duplicate menu item.
Modify the properties and script associated with the duplicate item as needed.