Using TextExpander to expand a sequence of OmniFocus tasks: A failed experiment

I recently got turned on to TextExpander by the Mac Power Users podcast.

One of my ideas was to use snippets in OmniFocus to create certain repetitive multi-action sequences. For example, when a project involves emailing someone and then waiting for a reply, it would be nice to type a short abbreviation and then enter a fill-in for the name of the person and then have TextExpander create two actions in OmniFocus; one called “Email ” with a context of “Online” followed by another called “Waiting for reply from ” with a context of “Waiting”. I theorized this should be doable because TextExpander lets you insert key presses like Tab and Enter into snippets.

Well, it didn’t work for me as expected. Strangely, it works with the first action; I get the title and context that I want. For the second action, however, I cannot get it to set the context. No matter how many tabs I insert into my snippet expansion, any text that I try to make it put in the context field of the second task seems to go in the title instead. Strange.

Here is the snippet:

If you get it to work or have any insights, please let me know…

My custom Alfred.app searches

I thought others might find a couple of my custom searches and fallback searches for Alfred.app interesting. When I type some text that doesn’t match anything, here’s what I get:

Marc's Alfred.app custom and fallback searches

Marc’s Alfred.app custom and fallback searches

The “Jira search” entry searches my company’s local Jira server. You can add one for yourself by clicking this link and editing the URL in Alfred Preferences | Features | Web & URL | Custom Searches (this is in Alfred.app version 1.3.1).

The “OF Inbox” entry uses an omnifocus:// URL to send the text to your OmniFocus Inbox. Here’s a link to add this to your Alfred config.

OS X Lion: Restore windows when quitting and re-opening apps

I just upgraded my work laptop to Lion recently.

After the reversed scrolling behavior, the next big annoyance was that when I launch apps they open with all of the documents that were open when I quit them. This was particularly noticeable and annoying with Preview.app and Microsoft Word, because I typically open these to quickly look at something and then I quit them.

If you’re wondering how to turn this behavior off, uncheck the box shown below in System Preferences | General | Restore windows when quitting and re-opening apps:

Memeo backup = slow

I replaced a defective Seagate GoFlex portable hard drive a few days ago and the new one that Seagate sent me had Memeo backup software on it. I decided to give it a whirl.

I got it configured, but judging from how long it appears to take to do a complete backup, I don’t think it will be sticking around long.

22,023 hours remaining?!?!

I already have Carbon Copy Cloner for cloning my whole drive to a USB hard drive and I have Carbonite for doing backups of various important files such as pictures and music to the cloud. That is probably good enough.

Append to nvALT journal – Alfred.app extension for nvALT

I whipped up a quick little extension for Alfred that lets me very quickly jot down time-stamped text. The hope is that if I make it ridiculously easy to log what I’m doing and when, then maybe I can have better records of what I’m doing and it will be easier for me to switch back to task after interruptions. I can also look at where I’m spending my time.

I have this extension mapped to the keyword “nj” (for “nvALT Journal”). I activate Alfred and type “nj <text>” and the extension automatically opens up nvALT and makes sure that there’s a note with the current date in the form “YYYY-mm-dd” and then appends my text to the end of the note with a 24 hour timestamp in front of it. It then switches back to the application that I was previously in so I can go immediately back to whatever I was doing.

Prerequisites

Download

GitHub

Making it easy to try DTrace4Linux

DTrace4Linux is an attempt (from UK developer Paul Fox, also known for his CRiSP editor) to bring the power of DTrace to Linux. It’s a kernel module (No kernel recompilation required! Yay!) and userland tools.

I did a bit of hacking around with Vagrant and Puppet and VirtualBox to make it dead easy to try.

Tweeted here.

OmniFocus extension for PopClip

I just hacked together an OmniFocus extension for PopClip

The extension creates a new task with the selected task in the OmniFocus quick entry window. Just a tiny bit of AppleScript.

Installation

Unpack into ~/Library/Application Support/PopClip/Extensions/OmniFocus.popclipext and then open the extension by double-clicking in Finder or using the open command.

PopClip resources