I half-jokingly asked David on Twitter to make an Alfred 2 (Beta) workflow that could quickly search Twitter’s new downloadble tweet archive, but knowing he is a busy guy I didn’t really expect him to make it. However David came through and really delievered on another excellent add-on to Alfred.
This Twitter Archive workflow is easy to configure and simple to use. Just install the workflow and run the import command including the folder path to the csv data like in the example below.
The workflow will generate its own SQLite database of your tweets, making search lightning fast. Selecting a tweet from the search results will open it in Twitter.com or you can hit CMD+C to copy the URL to your clipboard. It works flawlessly.
Download the Twitter Archive workflow
Also, be sure to check out his blog http://dferg.us which is updated regularly with tons of Alfred goodies and follow him on Twitter @jdfwarrior.
Alfred Mega Supporters are currently rejoicing the first beta release of Alfred v2. One of the long awaited features, teased by the developer, are the new workflows that enable users to develop comprehensive actions using many of Alfred’s powerful features wrapped up inside of neat little packages. David Ferguson has already whipped up some great examples like his Rdio and Mail search workflows. I thought I would share my first workflow I created for the beta Alfred v2 called Gitfred. It is a workflow for interacting with your GitHub account, specifically for quickly launching repos, issues, and gists.
To use Gitfred, type one of these commands:
- repos – list available repositories
- issues – list open issues
- gists – list view gists
*To use Gitfred, you must enter in your GitHub credentials. To do this, download and install the workflow, open the workflow folder and edit the gitfred.py file. Change the USERNAME and PASSWORD variables, then save the file and close it.
Gitfred is powered by the PyGithub project
I wanted to write up a quick post on how I implement multi-file actions in Alfred 1.3 so you can get a better idea on how to use the new feature and hopefully use this to start making your own multi-file extensions.
My language of choice, as usual, is bash; however the concept is the same in any language. Alfred provides your extension with a tab delimited string of files that you parse and perform actions on.
The code above is a basic implementation in bash that parses the input by tabs and puts each file in to an array. Then iterates through the array and does something with each file. The only line worth specifically noting is the line:
Even though tabs are already apart of the default IFS (input field separators) along with spaces and newlines – I have overwritten the IFS to consist of only tabs so that filenames with spaces don’t break up in to multiple items in the array.
Here is a full blown example implementation in an Alfred shell script extension that is designed to accept multiple files and batch rename the files based on a prefix supplied by the user. A download link for the extension is provided at the end of the post.
*Note: In order for this extension to accept multiple files, it is required to check the new option in the extension’s settings: “Accept multiple files as argument”
To wrap this up, here is a video of the extension in action:
Have you ever created a task in OmniFocus that needed a file attached? Sure you have and there are a million different ways to make that happen. But how do you track down the file that you need? I instinctively rely on Alfred because it is the path of least resistance. Alfred will find that file in any directory as fast as I can type, so why not use Alfred to send that file to OmniFocus?
This Alfred extension is intended to be used as an Action and lets you send a file to whatever task is currently selected in OmniFocus. It will even ask you if want to embed the file or just create and alias to the file and add that to the task.
Download the extension here: Send File to OmniFocus
Only tested on Mac OS X Lion (current version) and OmniFocus on MAS (current version)
Now enjoy some action shots!
File embed choice:
This extension will allow you to open Google Chrome in its Incognito mode for those times you need a flash capable browser with the added benefits of Chrome’s private mode.
I like to mark the Chrome application to be ignored by Alfred so that when I start typing Chrome this extension is the only one that comes up, that way I use it every time. To configure this simply pull up the info for the Google Chrome application and add alfred:ignore in the Spotlight comments.
Now install this Alfred extension: Open Google Chrome
This extension just executes the command:
open -a Google\ Chrome –new –args -incognito
/via Cool Geex
Again, I have no idea why anyone would ever need this extension but here it is if you want it!
Tested on Mac OS X Lion 10.7.2 (11C74) – Google Chrome 10.0.874.106