10 Replies Latest reply on Apr 20, 2016 10:27 AM by TᴀW

    scriptui modal brings the previous window on close CC 2015

    hamdifem Level 1



      I create modal window via scriptui followed by this example.


      var myW = new Window ("dialog","demo");



      buttons etc.
      button1.onClick = function() {





      var number = myW.show();
      if(number == 0) {

           // stuff



      after I call myW.close(0) the Indesign application minimizes and another irrelevant window gets focus (file explorer, browser etc.). I want Indesign to stay on line.


      It only happens when CC 2015, I was using CS6 before and there was no such thing. Is it a bug? is there a workaround for it?