Track Things Done with Alfred (update)
In an earlier entry I detailed how I track things I do each day using an Alfred workflow. Basically, I wanted to track what I did from the Alfred launcher screen, one thing at a time. The end result was a txt file dated today.
This worked fine but it still felt not as efficient as it could be. I still had to open a txt file to export the data to my Basecamp Daily Checkin. I could build a whole API integration with Basecamp, but that seemed like a lot of work. Instead, I just build a copy/paste functionality into the workflow as well.
TLDR; Download this Alfred Workflow and type did something here
where something here
is the task you just did. It will create/append a file in ~/Documents/Did This
named after today’s date with the line of what you just did. A second option in the drop down when you type did
is copy to clipboard
. This will copy a bullet point list to your clipboard (sourced from the document for today’s date). Finally, all of your did items will show in the list as well, so you can review that you’re not double adding something.
You can review some of the instructions in the old entry. The new functionality is the copy/paste.
The big changes are the second workflow.
In this case, it’s the same keyword filter without a space and argument optional. I created PHP script that gets all of the items file and builds the list. Then, it also unshifts or prepends to the array the option to copy all to the clipboard. As you can see, the arg is the entire clipboard content. That will be the query
moving forward.
I added a copy to clipboard workflow as well. All it does is copy the query into the clipboard.
From then on, I can paste this into the Basecamp request for today’s work. If I type did
I can start adding something for today, I can review today’s list, and I can copy all of today’s content into a clipboard.