1 Reply Latest reply on May 18, 2009 12:34 PM by Olav Martin Kvern

    CS3 menuActions.item().invoke() -- How can I select a specific palette?

    WölfNorgren

      My javascript is running:

       

      app.menuActions.item("$ID/SortByName").invoke();

      which applies the 'sort by name' on, at least, the Character Styles palette, Paragraph Style palette and probably others.
      I want to target just the "$ID/CharStylePanelPopup"...
      app.menuActions.item("$ID/CharStylePanelPopup.SortByName").invoke(); // This isn't working
      Is there something else I can do?
      Thanks for any tips...
      --
      Wölf