This Week's Sponsor:

Incogni

Put an End to Spam, Scams, and Robocalls on Your iPhone


How To: Add Tasks To OmniFocus or Things Using Dropbox and PlainText

OmniFocus and Things come with beautiful and useful mobile applications for iPhone and iPad, but sometimes you just want to have more control over how tasks are added to their databases. Or maybe you can’t afford paying for multiple mobile versions of the same app and you just use the desktop application.

But you’re a great Dropbox fan, and we’ve shown you many creative uses of Dropbox in the past. You can use the service to sync bookmarks and passwords across devices and computers, store music libraries, even control your Mac using Applescript and Folder Actions. Today, thanks to the efforts of our good friend Gianni Rondini (@giannivt), we’re featuring an interesting way to add tasks (with optional notes) to Things and OmniFocus for Mac using Dropbox and HogBay Software’s PlainText, inspired by Elastic Thread’s method to control your Mac using Dropbox.

Check out the instructions and download links after the break.

What you need:

- Things or OmniFocus for Mac;

- A Dropbox account;

- PlainText for iOS; (or any other Dropbox-based text editor that allows folder navigation and sync on edit, we just like PlainText)

- The scripts: OmniFocus version - Things version

Setting up the script is fairly simple, as it revolves around the creation of a subfolder in PlainText’s Dropbox folder and assigning a Folder Action to it. Both for Things and OmniFocus, follow these steps on your Mac:

– copy the script ~/Library/Script/Folder Action Scripts

– create a dedicated folder into Plaintext subfolder (in Dropbox); I created an “OmniFocus” one into “PlainText”. Thus the path is: Dropbox/PlainText/OmniFocus

– Right-click on your new folder and look for a command in the contextual menu named “Folder Actions Setup…” and select it;

– A list of available folder action scripts should pop up. Select the script you set up in first step.

On the iPhone (or iPad), fire up PlainText and make sure that “Sync On Edit” is off. Navigate to the folder you’ve created, enter a new note and save. A few seconds later, the Folder Action script on your Mac will trigger Things or OmniFocus and new task will be added. You can create as many text files as you wish to enter new tasks; it doesn’t matter if Things or OmniFocus aren’t open on your Mac (the script will launch them anyway) as long as Dropbox is running.

As for the app-specific scripts:

OmniFocus:

Very simple, the body of the text file will be the task name. If you wish, you can edit the default note attached to tasks created in PlainText by editing the script with AppleScript editor. Future versions of the script will likely include support for contexts, projects and other stuff supported in OmniFocus. As it stands now, this is a quick way to enter items in the Inbox from Dropbox at any given time.

Things:

The script is intended to manage both the main body of your todo and the tags inside it; in Plaintext you must follow this syntax scheme:

tag1, tag2, tag3, … , # your task

So there you have it: a simple and fast way to enter tasks in Things and OmniFocus using PlainText linked to Dropbox. Like I said, the scripts will likely evolve and have a full-featured syntax in the future versions - if you have suggestions (or questions) feel free to leave a comment below.

UPDATE: A new version of the Things script to manage multiple todos in a single text, a notes field and a new simpler syntax. Download.

Access Extra Content and Perks

Founded in 2015, Club MacStories has delivered exclusive content every week for nearly a decade.

What started with weekly and monthly email newsletters has blossomed into a family of memberships designed every MacStories fan.

Learn more here and from our Club FAQs.

Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with apps, tips, automation workflows, longform writing, early access to the MacStories Unwind podcast, periodic giveaways, and more;

Club MacStories+: Everything that Club MacStories offers, plus an active Discord community, advanced search and custom RSS features for exploring the Club’s entire back catalog, bonus columns, and dozens of app discounts;

Club Premier: All of the above and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.