ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  The Fight Against Spam, Part 2
Subject:   Applescript Bug?
Date:   2004-05-21 08:39:03
From:   alex281
I love Mail.app's spam filter! I have set up an applescript that advances a web counter one "click" each time it runs and i display the counter on my website http://www.alex281.com/#junk

My problem is that Mail.app only runs the applescript once for each time it checks my mail regardless of how many messages it sees as junk. Is this the expected behavior of Applescripts in rules?

I can't take credit for the idea of a web spam counter, there was a hint on macosxhints.com that described how to set it up.