1 Reply Latest reply on Jun 15, 2012 2:47 AM by Harbs.

    trying to place text silently in InDesign

    jeanrlemay Level 1

      I want to place some text in an InDesign story from an extension without userinteraction.

      If I try to do

           myInsertionPoint.place(myFile, false);

       

      it works if and only if all the fonts a present. If any font is missing a modal dialog is shown telling us about the problem.

      and I get the error :

      Error: Cannot handle the request because a modal dialog or alert is active.

      In ExtendScript, if we put the userInteractionLevel to Never_Interact, the dialog is not showing. But it seems that this is not working in ActionScript

       

      Is there anything that could be done to prevent this modal dialog to appear or the close that dialog programmatically?

       

      many thanks

       

      Jean-Raynald