coaching newsletter contact

Moving OmniFocus Scripts To iOS

I have been hesitant to adopt the new automation methods in OmniFocus for iOS. The abilities of the new URL Scheme are exciting but there's still quite a bit missing from the structure as it stands.

The main piece I found missing was the "autosave" parameter to the /add URL. My current structure uses the Auto-Parser which allows Drafts to send tasks to the app without the need to confirm or edit an item. Thankfully, the Omni Group introduced this feature recently and I can now add items directly to OmniFocus on iOS and come back to Drafts without any extra steps. Here's the URL I'm using to add new Blog Post Ideas:

omnifocus://x-callback-url/add?x-success=drafts4://&name=[[title]]&note=[[body]]&project=Blog%20Post%20Ideas&context=Running&autosave=true

The /paste URL is a different story. Combined with Editorial or Workflow, this thing is awesome! It allows me to port two of the AppleScripts I use over to iOS.

The obvious one here is templates. Ken Case shared an Editorial workflow that takes a template project in Taskpaper format and adds it to OmniFocus. I'm using his workflow unedited and found it really easy to recreate my templates on iOS. Navigate to the project you want to use as a template, tap the Share button, and copy it. In Editorial I simply pasted the project into a new Taskpaper file and I'm set. All I have to do is open the template and run the workflow.

The other script I moved over was the "Read Book Tasks" script. This was a complete rebuild of the code in Workflow. Using it on iOS is the same as running the script on a Mac. Run the workflow, answer the prompts, and you get a sub-project for the tasks added to your inbox.

OF Book Tasks - Workflow

Everything above is about creating new tasks. In the world of data, we often refer to CRUD - Create, Read, Update, Delete. It's shorthand for the four ways you can work with information. You can make new data - Create. You can get existing data - Read. You can change or edit existing data - Update. And you can destroy the data - Delete. If you have the ability to do all four of these, you are able to do anything you want with the database.

If we overlay those four methods on top of the new OmniFocus URLs, we see only the first (Create) as a possibility. So we're still limited in what we can do on iOS. It's also why I'm not able to move all of my scripts to iOS. It simply isn't possible. Given the support for AppleScripting that the Omni Group shows, I can imagine it is only a matter of time before the RUD of CRUD makes it to iOS.

Thu, Aug 04, 2016 07:00pm CDT https://bhlg.us/4ic1
#applescripts #omnifocus

Want to see my August 2020 Bullet Journal setup?

Join 1,514 subscribers!

I'll send you the link to a six-minute overview video of my August 2020 spreads when you sign up for my newsletter, The Weekly Impulse.

Site Analytics

I use Fathom Analytics on this site because I care about your privacy. And if you ever want to see the stats collected and the data I see, check out the live analytics here.

Amazon Affiliate

joebuhlig.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means to earn fees when linking to Amazon.com and affiliated sites.

Disclaimer

Disclosure of Material Connection: Some of the links in the post above might be “affiliate links.” This means if you click on the link and purchase the item, I will receive an affiliate commission. Regardless, I only recommend products or services I use personally and believe will add value to my readers. I am disclosing this in accordance with the Federal Trade Commission’s 16 CFR, Part 255: “Guides Concerning the Use of Endorsements and Testimonials in Advertising.”

an analog mind in a digital world

👋 I'm Joe Buhlig. I strive to build productivity systems that stand the test of time and help me do more than check boxes. I'm here to help you do the same.

🎙 I read a lot of books and talk about it.

🐿 I can't focus on one thing for long, so I write a lot of code for an eclectic grouping of projects.

📓 And I'm a bit obsessed with finding non-proprietary solutions to digital problems. Thus, text files for the win! 🎉

MN U.S.A 1986-09-30
  • all
  • articles
  • code
  • likes
  • notes
  • photos
  • replies
  • reposts
  • steps
  • videos
coaching newsletter contact
© 2014-2023 by Joe Buhlig