Scripting OmniFocus for both macOS and iOS


#1

What is the best platform to develop scripts that can be used with OF 3 desktop and OF on iOS?

Failing one answer for this question, what is the best way to translate AppleScripts for OF 3 desktop to OF on iOS?

Case in Point: I have an AppleScript that sets/unsets a tag on a tasks and toggles/untoggles its completion state (the AppleScript is Drop/Undrop). I want to translate it to my iOS workflow.

I am willing to invest time in the JavaScript implementation of AppleScript when the reward is a cross-platform script. Alternatively, I am equally curious about the benefits / limitations of doing the translation work from AppleScript on macOS to ShortCuts on iOS.


JJW


#2

JXA is not really the same as the Omni Automation through JavaScript that is on the roadmap. I would recommend waiting until that’s at least in beta and then using it to create said automations.


#3

@kcase or @rosemaryjayne Any idea on the timelines for this? We’ve been waiting for quite a while already… even a beta just to play around would be great :-) (and yes, I know it is hard work :-))


#4

Thank you. I will do a “me too” on the post by @Janov to ask whether any timeline is posted for this.


JJW


#5

I don’t work for Omni so I can’t even begin to guess at their timelines ;)


#6

Last time I asked, OmniGroup closed my thread rather than reply:

It was done automatically but still rather disappointing.


#7

I don’t necessarily need automation on all my devices. There are times when I’ll do certain work (email, social media) on my computer and I won’t do it on my iPhone.

There are some scripts I’d rather do on my computer that would be a little more difficult to do on my iPhone.

But I am looking forward to Omni Automation for OF3.

The best place to get an idea of what OF3 automation looks like will be to peek at the OmniOutliner automation stuff…

https://www.omni-automation.com

https://www.omni-automation.com/omnioutliner/index.html

https://www.omni-automation.com/tutorial/index.html


#8

Some of the work landed on the trunk last week, but it’s not stable yet.

Right now our focus is on subscriptions, which will ship in our next major update—hopefully by the end of this month. Automation is currently expected to be in the major update after that.


#9

Thanks Ken! That is a very positive outlook. Very exciting!