Send Event - Print Document
If I issue a Send Event to print a PDF how can a script determine if the print has completed. I need to issue a TaskKill to close the Adobe Reader after the file has been sent to the printer but if I make that the next script step it doesn't do anthing because Adobe Reader hasn't opened yet. I can make it work by inserting a Pause Script step for an abitrary number of seconds. How can a script tell if the print event has completed so I don't pause any longer than necessary?