Actions on the Mac Update

This is just a quick note to update folks on the status of actions on the Mac. They are coming along nicely. An early beta version has been distributed to a small group of testers, and I will posting a public beta to the next week or two. Details will be posted here to the forums when it’s ready. I hope to have a final release ready before the end of 2019, barring any major unexpected hurdles.

To set some expectations, first off, most things just work. Action sync across platforms, and the vast majority of the action step types and scripting interfaces work on the Mac just as they do on iOS.

There are a few exceptions, and a few caveats…these are the most notable ones:

  • URL and x-callback-url actions: URL-based actions work on the Mac, but there is some variation due to which apps are even available on both platforms, and whether they have implemented support for the same URLs in their apps. Many of these actions for popular apps work fine on both platforms. I have tested OmniFocus, Things, Day One and a number of others which seems to be fully compatible. Others, such as Fantastical and Evernote, while offering Mac apps, do not at this time implement the same URL schemes on both platforms, so there may be a few hurdles and incompatibilities to iron out.

  • No Evernote support on Mac: Drafts Evernote action step is not available on the Mac. This is purely for technical reasons. As it stands, Evernote does not offer an industry standard REST API which can be easily used cross-platform. As a result, Evernote integration on iOS uses an SDK offered by Evernote to support integration. Evernote does not offer a similar SDK for Mac (they had one in the past, but abandoned it’s development years ago).

  • Mail action step does not support HTML: Still researching options here, but as it stands it is not possible to send HTML mail on the Mac version. Apple’s Mail app removed support it once had for directly setting HTML content in messages via AppleScript/Apple Events, and there is no API available similar the one used on iOS to create HTML messages. Hopefully some other methods will come to light, but for now mail steps on Mac use mailto: URLs to open messages. They can be still be configured with recipients, subjects and custom templated message bodies, just only using plain text.

More details to follow with the beta release. Look forward to getting this into more people’s hands for testing!

6 Likes

If I were writing an action in javascript that had some sensitivity to the differences - for example in URL schemes - how would my code tell whether it was running on Mac OS or iOS?

Branching code might well help here.

1 Like

There are platform and model properties on the device object

1 Like