What methods and properties are provided for use through scripting for standard InDesign panels?
问题 I’m able to get a reference to, for instance, the “Scripts” panel; but, although its constructor’s name is 'Panel' , it doesn’t seem to have the show and hide methods like panels created through scripting, or the window property, etc.: var scriptsPanel = app.panels.item('$ID/Scripts') scriptsPanel.window // → “Object does not support the property or method 'window'” scriptsPanel.show(); // → “scriptsPanel.show is not a function” It does have some of script-created Panels’ properties, though: