May 25, 200421 yr Newbies I have a bunch of scripts which allow the user to either print a record, or create a fax or email of it (Pagesender is king) which work very well. It does this with a combination of scriptmaker and applescript ( which polls the name of the real printer, stores it in a text field and reverts to it after the fax printer (pagesender) has done its stuff. My problem is that if the Pagesender Print dialog is cancelled then the pagesender print driver ends up being the default printer which then has to be reset manually to the real printer. Is there a way of detecting the fact that the cancel button has been pressed in the print requester window so that I can force the correct print driver to be recalled?
May 25, 200421 yr In your print scripts, Set error capture [On] and Allow user abort [Off]. That way if the user cancels the print, your script will continue and reset the printer.
Create an account or sign in to comment