ckepper / applescript

A collection of AppleScript files for personal use (e.g. as Apple Mail filters)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A collection of AppleScript files for personal use (e.g. as Apple Mail filters)

Mail Scripts

This is a small collection of scripts for use with Apple Mail. They are very helpful in managing incoming email at scale. All messages are filed to ~/Downloads where they can be further processed and filed by a tool like the awesome Hazel.

Save Attachments

file save_Attachment_to_Downloads_Folder.applescript

  • This is a script for use with an Apple Mail rule.
  • Saves all attachments of the matched message in ~/Downloads folder
  • Rename attachment to current date in ISO 8601 format and adds the name of the rule:
    • 2020-01-01 - RuleName originalAttachmentFileName.pdf

Export Messages as PDF

file save_Message_to_Downloads_Folder.applescript

  • This is a script for use with an Apple Mail rule.
  • export matched messages as PDF to ~/Downloads folder
  • Rename attachment to current date in ISO 8601 format and adds the name of the rule:
    • 2020-01-01 - RuleName MessageSubject.pdf

Getting Started

The scripts must be stored in ~/Library/Application Scripts/com.apple.mail to be picked up by Apple Mail.

  • Run make install to compile the scripts and store them in the ~/Library/Application Scripts/com.apple.mail directory

About

A collection of AppleScript files for personal use (e.g. as Apple Mail filters)


Languages

Language:AppleScript 93.6%Language:Makefile 6.4%