Connect script with a sub-menu entry within Python-Addin

Discussion created by ibraheem99 on Mar 21, 2013
Latest reply on Apr 3, 2013 by johnmdye
I have created a menu entry using "pythonaddins" and it contains 2 sub-menus. Two separate scripts have to be linked to the sub-menus which should be invoked one-by-one when I click on sub-menu entry. First sub-menu should be active and second greyed out. Please suggest how to do it.