View Single Post
Here's the mail rule I'm using:

Code:
If all of the following conditions are met:
Subject Begins with "trigger script"

Perform the following actions:
Mark as Flagged
Run Applescript (path)
When this rule is enabled Mail finds the incoming message "trigger script" and marks it flagged. So I thinks to myself "The messages that Mail.app flags and the messages that Applescript receives must be identical, right?"

But it doesn't look that way. The applescript creates a dialog box and prints some other email's subject.

This is my first attempt at applescript. I'm totally stumped. :confused:

Any ideas?

Thanks

Last edited by Mark Stanczak; 2009-10-20 at 10:58 AM..