MsgFiler Filing Script

By default, MsgFiler 4 can perform many actions on Mail, such as opening mailboxes, creating new mailboxes, flagging and labeling messages, and more. If you do not have any Gmail accounts, MsgFiler 4 can also file messages without any help. It does this by communicating with Apple Mail using AppleScript.

It's strongly recommended to install and activate the MsgFiler Filing Script. It brings all the performance and features from previous versions of MsgFiler back to MsgFiler 4 running o n macOS Sonoma!

If you have Gmail accounts, however, MsgFiler 4 needs to perform some extra steps to make sure your emails are filed properly. And unfortunately, MsgFiler 4 cannot perform these steps due to the App Sandbox and Mac App Store restrictions on apps. By installing the MsgFiler Filing Script in MsgFiler 4's dedicated Application Scripts folder, MsgFiler 4 can now send these extra commands to Mail to enable the following:

  • Filing messages to Gmail accounts.

  • Selecting the next/previous message after filing to non-Gmail accounts.

  • Archiving messages from MsgFiler 4.

  • Shortcut actions.

To learn more about the history behind the MsgFiler Filing Script, click here.

Installation

Installation of the MsgFiler Filing Script is covered in the Filing Script section of Onboarding.

The MsgFiler Filing.scpt file will be placed in the following location on your computer:

~/Library/Application Scripts/com.atow.MsgFiler4

Scripts run by MsgFiler 4 from this folder are allowed to do so outside of the App Sandbox. Commands for archiving Gmail messages or selecting the next/previous message in the Message Viewer are only available when run outside of the App Sandbox.

Post-Installation

Once the MsgFiler Filing Script has been installed and enabled, MsgFiler 4's title bar will change to read MsgFiler + Filing Script.

Automation Permission

If you install the MsgFiling Filing Script, an additional Automation prompt will appear asking you to grant MsgFiler 4 access to control System Events. This is required in order for the MsgFiler Filing Script to work properly.

Re-installing the Script

At any point, you can re-install the MsgFiler Filing Script by following these steps:

  1. Open MsgFiler 4.

  2. Choose Settings… from the MsgFiler 4 menu.

  3. Click Filing.

  4. Click Installation Guide….

  1. MsgFiler 4 will display a dialog with instructions on how to download the MsgFiler Filing Script disk image.

  2. Open the Disk Image.

  3. Navigate to the following directory ~/Library/Application Scripts/com.atow.MsgFiler4

  4. Copy the MsgFiler Filing.scpt file into the folder from Step 7.

When there are updates to the MsgFiler Filing Script, MsgFiler will prompt you to update the script as well.

Last updated