AnsweredAssumed Answered

Cancel print

Question asked by Matty_1 on May 2, 2012
Latest reply on May 29, 2015 by davisoly

Title

Cancel print

Post

Hello,

 

I have a print button which launches a script that takes the user to a print friendly layout, prints it then return to the original layout.  My issue is when the user clicks cancel on the print prompt.  This then prompts a second window asking if the user wants to continue the script of cancel.  If the user cancels they're left on the print friendly layout and the script is halted.  If the user continues the script the record status changes to printed and nothing comes out.

 

How do I have the script bypass the message asking if the script should continue or not and handle the users selection on my own with a Get(LastMessageChoice)?  Is that even possible with the print promtps?

Outcomes