Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

New to InDesign scripting — could use some direction.

Return to Forums

  • Author
    Posts
    • #75120

      I’ve been playing with scripting InDesign. I’ve gotten most of parts to work individually but having a lot of trouble getting them to work as a whole. I was hoping someone could give me some help.

      1) I would like to have a window that has elements that change. To start I’d like it to have a dropdownlist that has a numeric value and as that number is changed it changes the number of edittext inputs. Is this possible?

      2) I am running into an issue with an error “cannot handle request because a modal dialog or alert is active” when I try to open a file. How do I get around this? A test script where the inputs are just set work but when it is based on input from a window it fails.

      3) Is there any way to have a webpage control inDesign — either on localhost or actual hosting?

      It is really difficult to find documentation for scripting so any help would be really appreciated.

    • #75143
      Anonymous
      Inactive

      Hi Carlos,

      1) I would like to have a window that has elements that change…
      You should consider ScriptUI for standard scripts.

      2)…because a modal dialog or alert is active”…
      A modal dialog prevents any user interaction with the app so you have to close first your dialog or use a non modal window type.

      3) Is there any way to have a webpage control inDesign — either on localhost or actual hosting?
      Not in ExtendScript but accessible with the new HTML Extension SDK

      Good luck.

      Loic

      Accueil

    • #75152

      Thank you. I trying to use ScriptUI but the documentation is very lacking. Found Peter Kahrel’s PDF this morning and this hopefully will help.

      With respect to #2 that is what I figured but I have .close for both dialogs I use. I’d prefer to keep the window open and allow the user to make changes and manipulate the document further but for version 1 I am ok with closing them.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
Forum Ads