# Filing Script

The [MsgFiler Filing Script](https://docs.msgfiler.com/using-msgfiler/msgfiler-filing-script) can supercharge your filing experience in MsgFiler 4. It is an AppleScript that can perform numerous functions that MsgFiler alone cannot do, such as:

* moving and copying Gmail messages
* navigating Mail using the keyboard from MsgFiler 4
* archiving messages from the keyboard in MsgFiler 4
* selecting the next or previous message in a Message Viewer after filing non-Gmail messages

{% hint style="warning" %}
The Mac App Store requires that user scripts such as the MsgFiler Filing Script be installed by the user and not by the application. Sorry for the inconvenience, but we've clarified the installation process as much as possible.
{% endhint %}

<figure><img src="https://4639002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTVWOEW6NaDJ95yKpBphJ%2Fuploads%2Fmdt2v35MDocnAw3t903q%2Fonboarding-filing-script-app-store-430.png?alt=media&#x26;token=2efa2b72-1b6a-4fba-bd99-19d53c3961ae" alt="" width="563"><figcaption></figcaption></figure>

## After Onboarding

Next, follow these instructions to download and install the Filing Script.

1. Choose **Settings** from the **MsgFiler** menu.
2. Click **Filing**.

<figure><img src="https://4639002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTVWOEW6NaDJ95yKpBphJ%2Fuploads%2FtEiCW15huj6lMzmBMvnG%2Fsettings-filing-before-script-installation.png?alt=media&#x26;token=80108461-6291-4d0d-826f-dc7d90c67d26" alt="" width="563"><figcaption></figcaption></figure>

3. Click **Installation Guide** to review the steps necessary to install the Filing Script.

<figure><img src="https://4639002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTVWOEW6NaDJ95yKpBphJ%2Fuploads%2Fw34fLgqj8PdVGctNtusI%2Fsettings-filing-script-installation-430.png?alt=media&#x26;token=5be0f0eb-dadc-425e-8ae9-433b6b69cdf1" alt="" width="563"><figcaption></figcaption></figure>

4. Click the **Download** button to download a disk image containing the MsgFiler Filing Script.
5. If the disk image does not open automatically, **double-click** on it.
6. The disk image will open up the following window in the Finder.

<figure><img src="https://4639002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTVWOEW6NaDJ95yKpBphJ%2Fuploads%2FVhYjGkkksjtBTQuWlMBr%2Ffiling-script-disk-image-tahoe.png?alt=media&#x26;token=f21499a3-76d6-4383-9a1b-524114fc55b5" alt="" width="563"><figcaption></figcaption></figure>

7. Back in MsgFiler 4, click on the **Show Folder** button. This will open up the special folder assigned to MsgFiler 4 from macOS from which user scripts can be run. This directory is located at:

\
`~/Library/Application Scripts/com.atow.MsgFiler4`<br>

8. Drag the **MsgFiler Filing.scpt** file from the disk image onto the folder that just appeared.

<figure><img src="https://4639002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTVWOEW6NaDJ95yKpBphJ%2Fuploads%2FYlPgwvSKCaIpi3XtubxU%2Ffiling-script-installed.png?alt=media&#x26;token=db177896-b04d-49be-8b8f-04c66d1dd509" alt=""><figcaption></figcaption></figure>

10. You can now enable the use of the Filing Script by toggling **Use Filing Script** to the on position.

<figure><img src="https://4639002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTVWOEW6NaDJ95yKpBphJ%2Fuploads%2F43H5b7FyDv6ZhGnQue5b%2Fsettings-filing-script-activated-430.png?alt=media&#x26;token=ed04a780-cf6b-4525-ad80-6a1bf8228834" alt="" width="563"><figcaption></figcaption></figure>
