Re: script to extract email attachments
Re: script to extract email attachments
- Subject: Re: script to extract email attachments
- From: Brian <email@hidden>
- Date: Sun, 10 Apr 2005 15:04:06 +0200
Hello David,
Your script only works when you select a message because you forgot to add the
for rule theRule parameter.
It's because Mail don't "select" incoming messages when they match a rule, but it "pass" a kind of "Match rule" flag.
So, I think it will work if you add the following to your script :
using terms from application "Mail"
on perform mail action with messages theMessages for rule theRule
if (name of theRule) = "Your rule's name" then
-- (...)
end if -- name of theRule
end perform mail action with messages
end using terms from
Hope that help,
Brian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden