3 ms·
Notes: 1. Apple Mail has had this feature for the last 20 years. If macOS users to whom that feature is of interest are only now realizing it exists, this spea
by hhas 4y ago
Notes:
1. Apple Mail has had this feature for the last 20 years. If macOS users to whom that feature is of interest are only now realizing it exists, this speaks volumes for Apple’s documentation and marketing.
2. The page says you can use AppleScripts as rule actions. It never tells you how. No sample scripts to use or learn from. No links to the documentation you’ll need to write your own.
Here’s a better third-party introduction from 2005(!) which includes a couple rule action examples:
http://preserve.mactech.com/articles/mactech/Vol.21/21.09/ScriptingMail/index.html http://preserve.mactech.com/articles/mactech/Vol.21/21.09/Sc...
TBH, after 6 years rusting in maintenance mode, all its documentation long buried in archive, and the department responsible eliminated entirely, I am surprised Apple would still want to draw any attention to AppleScript at all. They only set up the unwary for disappointment later, once they discover for themselves the platform is already a walking corpse. That is no way to sell product. Alas, post-Jobs Apple cares little for joined-up thinking, or even motivation to do a half-decent job.
Let’s hope the Shortcuts team can eventually make a half-decent success of their product, because AppleScript automation has zero future. That said, if Ventura Mail still can’t use Shortcuts as rule actions then it doesn’t bode look great for them either.
- Bondi_Blue 4y ago1. It is a niche feature to Mail rules that isn't exactly marketable to the average user, but instead exists for power users that seek it out. Like many small features and secrets in macOS, it is more often discovered than known out of the box. 2. It is pretty obvious from selecting the rule when it prompts you to open a script in Finder. Anyone interested in learning AppleScript can search it online or in their documentation, they're not going to distill the full scope and usage for AppleScript for every corner of the operating system where it can be utilized. I also hope Shortcuts continues to include the AppleScript action, since Automator will soon be gutted and regular users won't know how to invoke osascript from the command line. There are still occasional additions to the AppleScript dictionary, a few last year even for the iWork suite.
- hhas 4y ago> Anyone interested in learning AppleScript can search it online or in their documentation, they're not going to distill the full scope and usage for AppleScript for every corner of the operating system where it can be utilized. …In case anyone was still wondering why AppleScript is already dead.