2 Replies Latest reply on Aug 8, 2013 2:19 AM by GautierThomas57

    How to execute Menu item of "Search & Redac" in VBA java script

    GautierThomas57

      Hello,

      I'm currently trying to access method to control adobe acrobat menu items (search and redac) via javascripting using  "MenuItemExecute".

      I can call/show simple menu using  the following command:

       

      Dim acroAppObj As Acrobat.AcroApp

      Set acroAppObj = CreateObject("AcroExch.App")

      acroAppObj.MenuItemExecute ("ShowHideToolbarRedaction")

       

      Now my concern is to actively control the search method. I could get the info regarding available menu and function names:

      [cName:RedactionToolsItem, oChildren:  
              [    
                [cName:Annots:Tool:RedactMenuItem],  
                [cName:Annots:Tool:MarkPageRangeMenuItem],
                [cName:Annots:Tool:ApplyRedactionsMenuItem],
                [cName:Annots:Tool:RedactToolPropsMenuItem],
                [cName:Annots:Tool:SearchRedactMenuItem],
                [cName:RedactionSeparator],  
                [cName:RedactionMainToolBar]  
              ]

       

       

      But I have to confess that I cannot find the syntax/argument for calling "SearchRedactMenuItem".

       

      Any help?