Skip navigation
Currently Being Moderated

How to open an Adobe Panel

Jul 27, 2012 11:20 AM



I was wondering how I can open an Adobe Panel - say 'Articles' or 'Color->Swatches'  from a script?


[JS] [CS3-CS6]



  • Currently Being Moderated
    Jul 27, 2012 12:26 PM   in reply to PeteBaumgartner
    Mark as:
  • Currently Being Moderated
    Jul 28, 2012 3:45 AM   in reply to PeteBaumgartner

    You don't always need the methods described by Kasyan. For example, to open the Index panel, simply do


    app.panels.item("Index").visible = true;


    The names of the panels you can set like this can be displayed by the following one-liner:


    $.writeln (app.panels.everyItem().name.sort().join('\r'));



    Mark as:
  • Currently Being Moderated
    Jul 28, 2012 7:40 AM   in reply to PeteBaumgartner

    @Pete – for locale independent strings try the "$ID/englishname" method.
    For example, in my German InDesign CS5.5 the visibility of the "Articles" panel can be set with:


    app.panels.itemByName("$ID/Articles").visible = true;


    the German locale for "Articles" is "Artikel", so it's the same for the German InDesign to say:


    app.panels.itemByName("Artikel").visible = true;




    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points