I have 6 custom menu items that will all launch a script that differs very slightly. Rather than write 6 scripts I would like to capture the menu item that was selected then perform the appropriate script steps. For example...
If MenuItem =1
Else If MenuItem=2
do this instead
But I don't know if it's possible to capture what menu item was selected?