Apple Scripts

I have a Apple Mail Script I would like to use. Where would I store the script so when I set up a Mail Rule and click on use Apple Script, my script will show up?


:)

MacBook Air 13", macOS 10.15

Posted on Mar 11, 2020 9:47 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 11, 2020 10:11 AM

On Catalina, and with Script Editor, press option + File Save As… and navigate within you home folder to the following location:


home : Library : Application Scripts : com.apple.mail folder. Save your script bundle (.scpt) there.


Reference this location and script name in your Mail rule.


For solutions older than Catalina, you will create a new folder in the following location that you name Mail:


home : Library : Scripts : Applications


Then save your AppleScript in the Mail folder as a (.scptd) script bundle.

6 replies
Question marked as Top-ranking reply

Mar 11, 2020 10:11 AM in response to lhjbbw

On Catalina, and with Script Editor, press option + File Save As… and navigate within you home folder to the following location:


home : Library : Application Scripts : com.apple.mail folder. Save your script bundle (.scpt) there.


Reference this location and script name in your Mail rule.


For solutions older than Catalina, you will create a new folder in the following location that you name Mail:


home : Library : Scripts : Applications


Then save your AppleScript in the Mail folder as a (.scptd) script bundle.

Mar 12, 2020 10:57 AM in response to lhjbbw

The folder ~/Library/Application Scripts exists in my Catalina 10.15.3 installation, and I did not create that folder, so it must be there.


Click on your Desktop to get Finder's attention, press shift+command+G to open the Go To Folder panel, and enter the following:


~/Library/Application Scripts/com.apple.mail


You should land inside that com.apple.mail folder in an open Finder window, where you can deposit your AppleScript .scptd script bundle.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Apple Scripts

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.