Why doesn't this simple applescript work any more in ML mail.app (as a rule)
问题 It works only when you right click on the mail message and choose "run rules", but not on incoming messages (without interaction). The first dialog is shown both when incoming or running manually, but the second dialog (with the id) is only shown when running manually. Nothing is shown in console.log Any ideas? using terms from application "Mail" on perform mail action with messages theMessages for rule theRule tell application "Mail" repeat with theMessage in theMessages display dialog