Problem: 1299422
Title: (Scripting) Print command is recorded, ignoring user cancel
Received: Nov 6 1995 10:50AM
In IconEdit:
- start recording a script.
- select the print command. [script records "print document 'x'".]
- hit the cancel button. [script records nothing.]
This leaves a print command in the script that was not executed, but will be played back.
I think this is an unavoidable problem with the format of the Print Apple
Event. It doesn't have all the parameters we need in order to do user interaction
before sending the event. However, even if the behavior is not as nice as we
would like, it is consistent. If the user plays back the script, the print
command puts up the job dialog and the user can cancel out of it. In other words,
the user can do the same thing (not print) the same way as when they were
recording.