3 Replies Latest reply on Jan 29, 2009 3:04 PM by (Sanctus_Germanus)

    Close Browser From PDF

    Anthony_Clarke Level 1
      HI Guys,
      I created a pdf form when the user downloads it he can choose open, save, cancel. I'd like the form to close when the user clicks on the submit button. I found app.execMenuItem("Close") which works fine from a local copy but if the user open the form without saving it first, I get an error message: can't execute command from within an external window. So I guess I need some javascript in the form to close the browser. As the window is automaticly created when the user clicks on open, I can catch it. I have seen something about AVDOC but it looks like VB code.
      Thanks for your help