6/08/2008
I’ve been using Yojimbo, for a long while now but Eystein has been pestering me to give Evernote a shot. Common for both of these is that you don’t want to spend any time when you’re dropping stuff into them. I want one key that’ll toggle the visibility of the app. I want to hit my hotkey, dump stuff in, hit my hotkey again and continue what I was doing. Of course, neither of these apps come with that functionality (Well. Yojimbo does come with a “Quick input”-window, but for some reason I never got to loving it.) so here’s an AppleScript to fix that.
Just change the name in the script to whatever app you want to target, create a Quicksilver trigger for it and Bob’s your uncle.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| on run
tell application "Finder" to set en to name of first ¬
process whose frontmost is true
if en = "Evernote" then
tell application "System Events" to set visible ¬
of process "Evernote" to false
set notHidden to false
else
tell application "System Events" to set visible ¬
of process "Evernote" to true
activate application "Evernote"
set notHidden to true
end if
end run |
I’m really enjoying messing around with AppleScript these last few days. For such a light-weight language the benefits of it commanding the OS are huge.
1/08/2008
Summary: In which Martin has created an AppleScript to remedy Firefox’ poor support for
OmniFocus‘ “Send to inbox” hotkey. This is a lengthy post with lots of dreary explanations, so you might want to
jump to the finished script if you don’t care about how stuff works.
Edit: An alternative version brings up your Quick-add dialog and populates it. Check this comment if that sounds more appealing.

To get this to work you’ll need Quicksilver. But you’ve got that haven’t you? Sure you do.
I’m trying out OmniFocus nowadays for my obsessive-but-not-GTD-level organizing needs. It’s still a tad overkill for what I need, but they have the best iPhone sync so far, and I assume I’ll just be assimilated into the cult of David Allen sooner or later so what the hell.
One of the things I like about OmniFocus is the “Create Clipping” functionality. OmniFocus allows you to at a keystroke (♥) send whatever text is currently selected to your Inbox as a clipping.
However this isn’t working in Firefox 3. Mozilla practically stripped all the scripting abilities in v2 and i suppose that’s what goes for a “feature” nowadays. This needs some serious fixing. Let’s get our hands not-really-dirty-but-maybe-a-bit-smudged.
Edit: I’ve updated the script with a new version that also grabs the URL of the clippings origin.
Read the rest of this article »