Skip to content

samuelkordik/OmnifocusScripts

Repository files navigation

OmnifocusScripts

These are scripts I've written to automate Omnifocus and customize it to my needs. Screenshot

OmniFocus 3 Support

Support has been added for OmniFocus 3.

Toggl Integrations

The Start Toggl Task and Complete Toggl Task integrations are a pair of scripts that can be run from within Omnifocus to start and stop Toggl time entries connected with the Omnifocus task selected. Both scripts require you to enter your Toggl API (found within your account preferences) on the first run and also require jq to be installed on your system. This can be easily installed with brew install jq.

Start Toggl Task uses the selected task in Omnifocus and starts a Toggl time entry. The Omnifocus task ID gets recorded as a tag in Toggl to enable completion of the task, and a second tag "omnifocus" gets added to allow reporting on all Omnifocus tasks tracked this way. This script will ask what Toggl project you want to associate with your Omnifocus project (using all workspaces in Toggl) and then remembers this choice in a plist file. Update: You can also now create a new project from within the script, if you desire.

Complete Toggl Task looks for the active Toggl time entry, and if it has an "of_" tag, then it finds that OmniFocus task and marks it complete. It also updates the estimated minutes in Omnifocus with the duration from Toggl. Finally, it removes the "of_" tag from the time entry. Additionally, this will ask the user if the task is completed, and provide an option to add a "Continue..." task. This duplicates the original task, adds the phrase "Continue..." and marks the original complete.

taskcompletedialog

Other Omnifocus Scripts

The Revise Time script sets the estimated minutes field of the selected item(s) to the sum of estimated minutes for the tasks it contains.

The Support Plus script extends the Support script originally developed by Chris Sauve of pxldot to include Evernote reference information. It functions by storing a path to reference material in the finder and an Evernote tag name in the project note. Once set, access this information from anywhere in the project by running the script. It will open up a finder window for the project support material, and a new search window in Evernote searching by the tag name.

To-dos:

About

Omnifocus Automation Scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published