Alfred 2 will be coming out soon. It’s big new feature is the ability to easily create “workflows”, plug-ins that extend Alfred’s capabilities.
I’ve been having a lot of fun creating new workflows and extending the work of others. The workflows are in my GitHub account for anyone interested in forking or examining them.
Update Sep 2014
Get the latest versions of the workflow binaries from Packal.
Here’s a current list of the workflows in GitHub:
Very simple workflow to display the OS/X Character Palette for selecting obscure characters. Responds to the keyword ‘character’.
Create tasks in the application The Hit List. Task text follows the format:
<task text> [% <hit list category>] [! <priority>] [| <note text>]
Responds to the keyword ‘ta’.
ta Do something - Create the task 'Do something' in the inbox ta Do something else %work - Create the task 'Do something else' in the Work folder ta More work !1 - Create the task 'More work' in the inbox with priority 1 ta Stuff | Notes about it - Create the task 'Stuff' in the inbox with 'Notes about it' as a note
Very simple workflow to display the current date and time, and, optionally, copy it to the clipboard.
Responds to both keywords ‘date’ and ‘time’.
This is based almost entirely on David Ferguson’s workflow. It is rewritten in Ruby but only makes two small changes: it provides the raw search text as an option if there are no Google search results and it times out the Google search result request.
Responds to the keyword ‘g’.
Search for and kill a process. This lists all the processes that match the text typed. Selecting a process does a ‘kill’ on it. Holding down the alt modifier key does a ‘kill -9’ and holding down the cmd modifier does a ‘kill -HUP’.
Responds to the keyword ‘kill’.
This is based on the workflow by Jeroen van der Neut. It was his excellent idea and he provided the Applescript to extract menu items.
This workflow lets you control the front-most application by triggering menu actions. The text entered is used to display matching menu items. The change from Jeroen van der Neut’s workflow is to cache the menu items.
This workflow is a work in progress and has rough edges. The first is that caches aren’t aged – they’re permanent. The second is that menu item names extracted from Applescript don’t always match the displayed text, e.g., a menu item might say ‘Turn feature off’ or ‘Turn feature on’ based on the feature status but the extracted menu text is ‘Toggle feature’. The result is that the menu item can’t be activated by the workflow.
This is based on David Ferguson’s IP Address workflow. The difference is that it provides interface names and mac address.
The workflow responds to the keywords ‘ip’ and ‘mac’. For the ‘ip’ keyword it lists all interfaces and the local IP addresses. It also displays the external IP address. For the ‘mac’ keyword it lists all interfaces and the local MAC addresses.
If you select an IP address or MAC address it will be copied to the clipboard. Holding down the cmd modifier key will also paste it in the front-most application.
Based on the workflows by Clinton Strong and David Ferguson. The difference is it consolidates the OS/X recent documents list and the Alfred recent documentst list.
Triggering the workflow lists all of the recent documents. Selecting one will open it in the default application. Holding down the cmd modifier key will reveal it in Path Finder or Finder (depending on whether Path Finder is installed).
Responds to the keyword ‘recent’.
Lists all of the running OS/X applications (not processes, what OS/X considers as a running app). Selecting one will activate the application. Holding down the alt modifier key will trigger the built-in ‘quit’ Alfred command.
Responds to the keyword ‘running’.
Searches PubMed at ncbi.nlm.nih.gov. Provides two alternates search modes. The first does a keyword search of PubMed articles. Selecting an article displays the article information. The second uses the PubMed search suggestions. Selecting a suggestion performs a PubMed search using that search text.
Responds to the keywords ‘pubmed’ for article searches and ‘pubmed2’ for search suggestions.
Simple workflow to hide all applications, showing the desktop.
Responds to the keyword ‘show desktop’.
Simple Time Machine status and control. Shows the Time Machine completion status and provides support to start and stop Time Machine backups.
Responds to the keywords ‘tmac status’ to show status, to ‘tmac start’ to start a Time Machine backup and to ‘tmac stop’ to stop a Time Machine backup.
Lists the top processes, aka the command-line ‘top’. Selecting a process will activate the ‘kill-process’ workflow to kill the selected process.
Encodes and decodes text for use in a URL.
- Keyword ‘urlencode’ requires text and encodes it for use in a URL, copying it to the clipboard.
- Keyword ‘urldecode’ requires text and decodes it from a URL, copying it to the clipboard.
Based on the Parallels Control workflow. Provides a mechanism to control VMWare VMs.
- Keyword ‘vm list’ lists the knows VMs and their current status. Selecting one copies the VM path to the clipboard.
- Keyword ‘vm ip’ lists the IP addresses of running VMs. Selecing one copies the IP address to the clipboard.
- Keyword ‘vm start’ lists the stopped VMs. Selecting one starts it.
- Keyword ‘vm stop’ lists the running VMs. Selecting one stops it.
- Keyword ‘vm reset’ lists the running VMs. Selecting one resets it.
- Keyword ‘vm suspend’ lists the running VMs. Selecting one suspends it.
- Keyword ‘vm pause’ lists the running VMs. Selecting one pauses it.
- Keyword ‘vm unpause’ lists the running VMS. Selecting one unpauses it.
- Keyword ‘vm snapshot’ requires a snapshot name and lists the running VMs. Selecting one creates a named snapshot of that VM.
- Keyword ‘vm revert’ requires a snapshot name and lists the running VMs. Selecting one reverts to a named snapshot of that VM.
Simple workflow that provides volume control. Keyword ‘max’ sets the volume to max. Keyword ‘medium’ sets the volume to mid-level. Keyword ‘mute’ mutes the system volume.