Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Custom dialog boxes in Javascript

Engaged ,
Aug 02, 2017 Aug 02, 2017

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

TOPICS
Scripting
4.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 02, 2017 Aug 02, 2017

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 04, 2017 Aug 04, 2017
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines