# Filing Script

The [MsgFiler Filing Script](/using-msgfiler/msgfiler-filing-script.md) 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="/files/OIzDN7sSn8fdv7IcsijP" 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="/files/QHU9am3FD9eQ37sN81Jx" alt="" width="563"><figcaption></figcaption></figure>

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

<figure><img src="/files/WGSNP9u10O8UwZSJp7vg" 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="/files/evQvuh9iS7Aqg6c9oMCR" 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="/files/nBDLUjDUEs5ugUx5KMif" 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="/files/ayBkmCXNuKRwnKCBb5Vn" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.msgfiler.com/onboarding/filing-script.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
