Archive for ‘April, 2012’

R.I.P. Jack Tramiel

datePosted on 17:27, April 9th, 2012 by Many Ayromlou

Probably one of the least known people in modern computing, Jack Tramiel, the man who brought us Commodore (and later on Atari Corp.) has passed away at age 83.

The “Bounce” command is really useful for those times when you’re receiving spam mail that gives you no recourse to opt-out. Usually Ads and announcements have a link to unsubscribe, but if they don’t I usually just “bounce” the mail back to the sender and that usually causes the sender to take me off their mailing list. As of the release of Lion, apple (for some reason) has decided to take that functionality and the associated button away from the Mail app. To be more precise, they’ve removed the icon and the menu option, but the function is still there, buried in the guts of mail. You can get it back by creating the following Automator Service script. Follow the instructions below:

  1. Open Automator application
  2. Create a new Service when prompted to “Choose a type for your document”
  3. In the right pane configure the service so that it has “No Input” for the “Service Receives” pull down and select “Mail” in the pull down next to it (see the screen shot below)
  4. In the Library select Mail and drag the action “Get Selected Mail Messages” into the workflow window (on the right)
  5. In the Library select Utilities and drag the action “Run AppleScript” (NOT the “Execute AppleScript”) into the workflow window below the “Get Selected Mail Messages” Action
  6. Copy the following code into the “Run AppleScript” Action window
    on run {input, parameters} 
         tell application "Mail" 
              repeat with eachMessage in input 
                   bounce eachMessage 
                   delete eachMessage 
              end repeat 
         end tell 
    end run 
  7. Your final screen should look like below
  8. Save the workflow with a name like “Bounce Message”. This will save the workflow in the Library folder under your home directory in a subfolder called Services (not that you need to worry about this).

Now assuming you have two email accounts setup in Mail, send a test email from one account to the other. Then in the receiving account check for the new mail, select it, go to the “Mail” menu, under “Services” and select “Bounce Message”. This should bounce your test message back to it’s original sender (your other account) and delete it from your inbox. If you want to get really fancy you can even assign a keyboard shortcut to the “Bounce Message” Service. If for some reason you need to get rid of it, just delete the file under your personal Library directory (in finder hold down option while going to the “Go” menu and select “Library”), under Services folder.