Skip to content

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

Notifications You must be signed in to change notification settings

ckepper/applescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published