Custom dialog boxes in Javascript
Copy link to clipboard
Copied
We have a bunch of InDesign scripts written in VB and compiled to EXEs. I'd like to get some of them over to Javascript to make them more portable, but the dialog boxes are a huge hurtle for me, especially since I'm new to Javascript.
A few years ago with Ventura Publisher (I still miss it!) Corel shipped CorelScript, which was pretty darn cool! CorelScript editor had a dialog box creator with a GUI for creating dialog boxes. While you were "drawing" the elements of the dialog, the dialog creator would, essentially, type the code necessary to build the dialog into the script .
So, you worked with this:
And into the script would go this:
Does anyone know of anything out there that might do this similar thing for javascript dialog boxes that I can use in InDesign script?
Many thanks,
Ken
Copy link to clipboard
Copied
I dont know if this is still current, the website hasn't been updated for a while, but check out
scriptui.com - Home of Rapid ScriptUI
It looks like it's only compatible with PC, but that looks like its not an issue with you.
Copy link to clipboard
Copied
You can use ScriptUI, which is Adobe's interface tool for several applications (InDesign, Photoshop, etc.). Here's a guide:
https://indd.adobe.com/view/a0207571-ff5b-4bbf-a540-07079bd21d75
Peter

