Skip to main content
Inspiring
June 17, 2025
Question

Where is the documentation for UXP scripting dialogs?

  • June 17, 2025
  • 2 replies
  • 355 views

There are example scripts that come with InDesign that create dialogs, but I can't find any documentation on the methods and members available when creating them. You see stuff like

 

    myDialog = app.dialogs.add({ name: "DifFest" });

    // Add a dialog column.
    myDialogColumn = myDialog.dialogColumns.add();
    borderPanel = myDialogColumn.borderPanels.add();
 
Where is the reference material that tells us what's available?

2 replies

Legend
June 18, 2025

That's a dialog via InDesign's script DOM.

https://developer.adobe.com/indesign/dom/api/d/Dialog/

https://developer.adobe.com/indesign/dom/api/d/DialogColumn/

https://developer.adobe.com/indesign/dom/api/b/BorderPanel/

 

ExtendScript has separate dialogs via ScriptUI.

 

UXP script itself (those single .idjs files) has not, but UXP's scripted plugins again reinvented the dialog. You'd have to work thru manifests, html-ish markup and css.

Inspiring
June 18, 2025

Thanks. The documentation organization is a haphazard mess. If you start at the beginning of the UXP doc, you are presented with two indistinct API starting points. The "InDesign API" one takes you here; a page that just says, "What is the OMV file?"

 

The other one goes to a few links that don't discuss any of InDesign's API.

Community Expert
June 18, 2025
Inspiring
June 18, 2025

Thanks. I'm trying to make custom dialogs to gather user input for a script.