Sunday, March 17, 2024

MsgFiler 4

Adam Tow (Mastodon):

Since WWDC 2023, I was telling long-time MsgFiler customers that I would look into what I could do to support the product in this new era of Apple Mail sans plug-ins. Honestly, I was a bit bummed because I didn’t see a viable path for the app.

[…]

A deep dive into AppleScript support in Mail turned up the reason. If you were trying to file a Gmail message using AppleScript, the Inbox label was not being removed from the message prior to assigning the new mailbox label.

[…]

Targeting the right mailbox using the Accessibility APIs turned out to be nearly impossible if any mailboxes were expanded in the sidebar, so I ultimately nixed this approach.

The irony is that MsgFiler wasn’t really doing the sorts of things that you would expect to need a plug-in API. It should have been able to do its work using AppleScript, except that Mail’s AppleScript API is buggy and slightly incomplete. (SpamSieve also never needed plug-in support in mail clients that had good AppleScript support.) So MsgFiler 4 works around the limitations using System Events.

Adam Tow:

There’s an even bigger problem with updating MsgFiler and that is its use of System Events to send commands and key codes to the Mail application. While MsgFiler has a temporary entitlement to control Apple Mail via AppleScript, it does not have an entitlement for sending AppleScript to System Events. Nor is Apple providing such an entitlement, since that can be a vector for sending arbitrary key strokes and commands to any application.

This sets up a situation, not unlike with Alfred and Screens, where the app is in the Mac App Store, but to get the full functionality you have to download a component from outside the store:

The 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.

MsgFiler 4 is $9.99 a year or $49.99 for a lifetime unlock (for version 4.x).

Also of note is that he rewrote the app from Objective-C and Interface Builder to SwiftUI, and that seems to have gone well.

Previously:

2 Comments RSS · Twitter · Mastodon

Serious question: does selling apps in the Mac app store actually provide a net benefit versus selling it outside the app store and having the user download it from the web?

Before I discovered MacUpdater, I would have said yes, absolutely, because of auto updates, even from free or FLOSS apps, especially if the side benefit to the dev was a mandatory fee for an otherwise unavailable feature. I only discovered MacUpdater recently, thanks to a tipoff from Tidbits, and I'm not so sure anymore. System-wide software updates is really the only feature of the MAS I actually care about, and although I find the mandatory croud-sourcing of the app database a little bit creepy, honestly it’s awesome. Perhaps give it a try, it's certainly surprised me.

Leave a Comment