Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'An AppleScript to quickly stop all print jobs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to quickly stop all print jobs
Authored by: RobertBen on Feb 21, '06 02:51:05PM
I really appreciated this AppleScript version, but didn't care for the first dialog (if I launch this script I want to kill all print jobs a.s.a.p.), so I trimmed it a bit which made it look like this:

do shell script "cancel -a -"
display dialog "No more printing jobs" buttons ["OK"] default button 1

Works like a charm and really fast!

P.S. for AppleScript novices:
I also took away the 'Poof', but the displayed dialog can be any text of course.

[ Reply to This | # ]