Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

InfiniteLoopy

Cancelled
Original poster
Dec 14, 2010
366
5
Hi all,

I have an Applescript I'd like to run each time I quit Safari.
However, I can't seem to create the necessary code to get it to run when Safari ends or wait (be idle) when Safari is running.

Basically, what I want to do is run when I type {command - Q} in Safari and have the script run automatically and then close, all while being "invisible" and without me having to click on anything else (such as the script itself).

Can anyone help?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.