2 Replies Latest reply on Apr 5, 2012 12:25 AM by Techi Panda

    How to trace menuActions

    Techi Panda Level 2

      Hi Experts


      I need to trace the Edit parapgraph style menuActions. Kindly refere the screen shot. For sample I have added only one style but in the live document I have more than 15 styles.


      I have started with this but I am failed




      function edit_right(){

      var myCloseMenuAction = app.menuActions.item("Edit style1...");

      var myEventListener = myCloseMenuAction.eventListeners.add("afterInvoke",display, false);



      function display()


      alert("You edited the style");   






      Is there any possibilites for Activate/De-activate menu items.


      Thanks in advance