9 Replies Latest reply on Oct 12, 2011 10:04 AM by try67

    setTimeOut

    sindhuxyz

      Hi,

       

      I have used setTimeOut method in script which is added to load of document , the case is bit strange. The script looks below:

       



      var vopen="app.execDialog(JSOpen);";app.setTimeOut(vopen,100);"

       

      JSOpen is Dialog script


      When I open document nothing happen(no popup/dialog appears). I opened Javascript Debugger from Tools>Javascript. Closed file and opened again, this time popup appears.

       

      Why popup appears when Javascript Debugger is opened and do not appear when Javascript Debugger is closed. My script looks above.

       

      Any advise?

       

       

      Thanks