If I cancel a print job using the "Continue/Cancel"
options in the left "Status Area" panel, none of the script statement after
"Print" execute. I would like to restore the previous
layout.
Here is the script:
Go to Layout ("Summary Report A")
Sort(Restore)
Set Error Capture [ON]
Print Setup [(Restore, No dialog])
Enter Preview Mode [Pause]
Print[]
#If the user cancels the print, the script never
gets here. I suspect the cancel has
#Exited the script. The program stays in Layout
"Summary Report A".
Go to Layout ["Full List View"]
Enter Browse Mode[]