Re: Applescipt in Mail rules
Re: Applescipt in Mail rules
- Subject: Re: Applescipt in Mail rules
- From: Axel Luttgens <email@hidden>
- Date: Fri, 31 Jan 2014 19:19:52 +0100
Le 31 janv. 2014 à 18:12, Steve Bird a écrit :
> [...]
> That is exactly where my script has been stored in 10.6.8, but it is still ignored by Mail in 10.9.x.
>
> It doesn’t matter what’s in the script - a simple Beep() is also ignored - it just doesn’t run and doesn’t bother to tell me why.
> [...]
Hello Steve,
Quickly wrote and saved this one:
using terms from application "Mail"
on perform mail action with messages Msgs
repeat with Msg in Msgs
set Msg to contents of Msg
tell application "Mail" to set SndrName to extract name from sender of Msg
display dialog SndrName
end repeat
end perform mail action with messages
end using terms from
as a script in ~/Library/Application Scripts/com.apple.mail/ and created a rule in Mail that just invokes that Applescript.
Works fine here with 10.8.5.
Currently can't test with Mavericks.
Axel
_______________________________________________
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