6 Replies Latest reply on Aug 1, 2016 10:49 AM by Loic.Aigon

    The show function of the dialog return false before clicking OK or Cancel!

    dulajun Level 2

      I have developed a plugin for text snippets. It's free and open source as one startup javascript file, you can download from here:

      Live Snippets download | SourceForge.net


      After downloading put the file in startup folder and restart InDesign.

      Set the snippets folder, Select this command and create and select any folder:

      Screen Shot 2016-07-31 at 4.35.46 PM.png


      Write any text in an empty saved InDesign document and select the text then execute the command, click OK for the snippet number:

      Screen Shot 2016-07-31 at 4.36.57 PM.png

      After creating the snippet insert the text cursor any where and try to place the snippet you have create before, click OK for the snippet number:

      Screen Shot 2016-07-31 at 4.46.18 PM.png

      The problem now that "Place Snippet" dialog and not work again! and the at line 1752 the show function will return false before the user clicks OK or Cancel.

      Screen Shot 2016-07-31 at 4.53.33 PM.png

      You can try to open new Javascript file in ExtendScript Toolkit and write these command to test the dialog:

      Screen Shot 2016-07-31 at 4.56.51 PM.png

      Try more than once.



      Please could any one help me why the show function return false immediately?