9 Replies Latest reply on Jul 6, 2010 4:34 PM by Bob Stucky

    Accessing Drop-Down Menu Commands in AI via my Panel

    ClintGossettSF Level 1

      I have this panel that names all text fields in an AI DOC and exports all text to an XML for translation (imports later).   To access the entire DOC, the panel pulls all Symbols into a temp layer, "Expands" them, evaluates the text frames, and then rebuilds all the Symbols to restore the DOC's original state (text frames now named and exported to XML).

       

      The issue is the "Expand" part.  At the moment I actually have to prompt the user to select "Object > Expand" from the drop-down menu and then initiate the second portion of the script.  It kind of kills the mood.  How can I access the "Export" command from my panel?