1 Reply Latest reply on Oct 6, 2015 11:29 PM by user19752

    Get menu item

    dinoapolito

      Hi,

       

      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

           do this

      Else If MenuItem=2 

           do this instead

      End if

       

      But I don't know if it's possible to capture what menu item was selected?

       

      Thanks

      Dino