Avisi Blog

Mail is killing your productivity

Geschreven door Gert-Jan van de Streek | 03 February 2012

Mail is killing your productivity. It sure is killing mine. I have the habit of opening my mail more times than necessary during the day. I need to stop myself and I use a little apple script to help me do that.

Here is the code for the apple script:

display dialog "You are being weak"

tell application "Mail"
activate
end tell

  • Save the apple script as an application.
  • You want the mail icon on your script? Use 'Get Info' on both Mail.app en your script application (Cmd-C on the icon of Mail.app, then Cmd-V on the icon of your script application)
  • Drag the script application onto the dock.
  • Drag the mail icon off the dock and you are set.

You don't want to be weak do you?