Getting script to run with apple mail rules.
Getting script to run with apple mail rules.
- Subject: Getting script to run with apple mail rules.
- From: Brian Taylor <email@hidden>
- Date: Thu, 7 Feb 2008 16:44:22 -0500
Does anybody know the trick to get a script to run with mail.app rules. Here is the script I wan to run when a message meets a certain filter.
using terms from application "Mail" on perform mail action with messages theMessages for rule therule tell application "Finder"
display dialog "This computer will go to sleep in 1 minute." buttons {"Sleep", "Cancel"} default button 2 giving up after 60
sleep
end tell end perform mail action with messages end using terms from
I've tried everything I can think of. Seems like it should work. Can't get it to run.
Thanks. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden