This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby -E utf-8 | |
# merge_asana_into_omnifocus.rb | |
# Hilton Lipschitz | |
# http://www.hiltmon.com | |
# Use and modify freely, attribution appreciated | |
# Script to import Asana projects and their tasks into | |
# OmniFocus and keep them up to date from Asana. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "OmniFocus" | |
tell front document | |
tell content of document window 1 -- (first document window whose index is 1) | |
set theSelectedItems to value of every selected tree | |
end tell | |
repeat with anItem in my theSelectedItems | |
(* display dialog "Processing item: " & (name of anItem) & " with note: " & (note of anItem) *) | |
set newProject to make new project | |
set name of newProject to name of anItem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Day Projects | |
-- | |
-- Created by Zettt on 2011-11-28 | |
-- Mac OS X Screencasts. | |
-- | |
-- This script creates "Day Projects" in OmniFocus. | |
-- | |
-- I use these "Day Projects" to put stuff, that I need to | |
-- do on a specific day, but aren't big enough to be their own project. | |
-- Things like "Call the doctor on Wednesday" or |