Latest in Applescript

Image credit:

AppleScripting OmniFocus > Send Completed Task Report to Evernote

Ben Waldie, @@applescriptguru
February 18, 2013
Share
Tweet
Share

Sponsored Links

I've mentioned before that OmniFocus is my task manager of choice. Each morning, I pull up a list of scheduled tasks for the day, and focus on getting them done. In OmniFocus, I've set up Perspectives (saved window states) for both Due tasks and Completed tasks. What I really want, however, is something that will pull out recently completed tasks and summarize them in Evernote, my note management app of choice. This way, I can maintain a historical log of my progress, and pull out summaries of completed tasks to send to clients. Since this type of integration isn't built into OmniFocus or Evernote, I wrote an AppleScript to do it.

Creating the Script

NOTE: If you have any trouble following along, you can download my completed script here.

1. Launch AppleScript Editor (in /Applications/Utilities)

2. If your system-wide script menu isn't enabled already, go into AppleScript Editor's preferences window and turn it on.

AppleScripting OmniFocus  Send Completed Task Report to Evernote

3. Create a new script document and enter the following code:

4. Bring OmniFocus to the front, and from the system-wide script menu, choose Open Scripts Folder > Open OmniFocus Scripts Folder. This creates the following folder, if it doesn't already exist -- ~/Library/Scripts/Applications/OmniFocus

AppleScripting OmniFocus  Send Completed Task Report to Evernote

5. Go back to AppleScript Editor and save the script as OmniFocus > Prepare Task Completion Report into the ~/Library/Scripts/Applications/OmniFocus folder you opened in the last step.

AppleScripting OmniFocus  Send Completed Task Report to Evernote

Running the Script

Bring OmniFocus to the front. Next, select OmniFocus > Prepare Task Completion Report from the script menu. The script starts by asking for the scope of the report. Your options are to summarize tasks from today, yesterday, this week, last week or this month. Choose one, and click OK.

AppleScripting OmniFocus  Send Completed Task Report to Evernote

AppleScripting OmniFocus  Send Completed Task Report to Evernote

Next, the script retrieves a list of tasks within the specified timeframe, formats them as HTML, brings Evernote to the front, and creates a new note.

AppleScripting OmniFocus  Send Completed Task Report to Evernote

You've now got a summary of recently completed tasks in Evernote. Do you feel productive yet? Until next time, happy scripting!

All products recommended by Engadget are selected by our editorial team, independent of our parent company. Some of our stories include affiliate links. If you buy something through one of these links, we may earn an affiliate commission.
Comment
Comments
Share
Tweet
Share

Popular on Engadget

Jabra's ANC update for the Elite 75t earbuds is now available

Jabra's ANC update for the Elite 75t earbuds is now available

View
NASA shares first images from OSIRIS-REx's touchdown on Bennu

NASA shares first images from OSIRIS-REx's touchdown on Bennu

View
Hummer EV 'supertruck' has a UI built on Unreal Engine and runs Android

Hummer EV 'supertruck' has a UI built on Unreal Engine and runs Android

View
Apple iPad Air (2020) review: Who needs the iPad Pro?

Apple iPad Air (2020) review: Who needs the iPad Pro?

View
The Morning After: 2020 iPad Air review, and RIP to Quibi

The Morning After: 2020 iPad Air review, and RIP to Quibi

View

From around the web

Page 1Page 1ear iconeye iconFill 23text filevr