0 Replies Latest reply on Apr 10, 2012 12:27 AM by Techi Panda

    How to trace menuActions1

    Techi Panda Level 2

      Hi Experts

       

      I am trying to trace the event of delete paragraph style. With the help of Marijan Tompa I have traced with this script

       

      #targetengine testSession

       

      main();

       

      function main(){

          var disableNew = app.menuActions.itemByID(8451).addEventListener("afterInvoke", editPara);

      }

       

      function editPara (evt) {

          alert ( "You deleted the style");

      }

       

      This works great. But I could not trace if the paragraph style deleted with icon buttons shown in the panel below.

       

      ar2.JPG

      is there any possible ways to trace even paragraph deleted with this option?

       

      Thanks in advance!