14 Nov

Send article to OmniFocus - AppleScript

Wednesday November 14th 2007, 3:07 pm
Tags: , ,

The last missing link in my OmniFocus workflow: Vienna article reading reminder.


property actionPrefix : "Read "

tell application "Vienna"
tell current article
set theURL to link
set theName to title
end tell
end tell

tell front document of application "OmniFocus"
tell quick entry
make new inbox task with properties {name:(actionPrefix & theName), note:theURL}
activate
select {inbox task 1}
end tell
end tell

Download: send-article-to-omnifocus.scpt

3 Comments

16 Sep

Apple-makes-me-crazy-Script

Sunday September 16th 2007, 7:38 pm
Tags: , , ,

Have mastered every programming language until now. But AppleScript really drives me crazy :-(

applescript.png

You write code and are surprised how easy it is and how straight forward many things can be expressed. And then such a thing appears and you start thinking which strange understanding of some construction the AppleScript creators had in mind. After two hours of hacking you write this message.

1 Comment