6 Replies Latest reply on Feb 1, 2010 11:23 AM by John Doe 83

    app.launchURL after print(true)

    John Doe 83

      Using the following code as embedded Javascript in my PDF files:

       

      print(true);
      app.launchURL('http://www.google.nl');

       

      A print dialog pops up, just as expected. However, it also launches the URL immediately, without waiting for the printer dialog to be closed.

       

      Is there a way to wait upon closing of the printer dialog? I don't care if it has actually printed something or not.