3 Replies Latest reply on Nov 21, 2011 11:29 AM by philmodjunk

    Force script to finish without a dialog box

    kashaev

      Title

      Force script to finish without a dialog box

      Post

      I have a script set up to print a set of data.  I have the print dialog pop up so that the user can select copy count and printer....BUT if the user decides to click "cancel" they will get a dialog box asking if they want to continue the script or cancel.  Continue will bring them back to where they belong but if they choose "cancel" they get dumped on the wrong layout in preview mode.  

      Is there a way to NOT give the user the choice and to always finish the scripts...even if they cancel a function within the script?