Add Magical Mouse Gestures to Your Mac with Quicksilver

Remember Quicksilver? OS X’s ultimate but long-dormant launcher has quietly been updated to work on OS 10.6 and above. I thought I’d take the opportunity to dredge up an old but useful trick to boost your productivity.

Below I’ll show you how to setup Abracdabra with Quicksilver and add magical mouse gestures to activate any standard QS action. It’s a relatively simple trick, but gives your mouse a power you’ve never known before!

What Is Quicksilver?

If you’re not familiar with QS, you’ll definitely want to read our Ultimate Beginner’s Guide to Quicksilver. It’s both one of the simplest and most complicated apps you’ll come across and you’ll get way more functionality out of it if you do your homework.



At its core, QS is an application launcher. Activate the app with a shortcut, begin typing the name of an application and click execute to launch (or just hit return).

The part that sets QS apart from every other launcher on the market is it’s rich plug-in system. This killer feature, which we’ll look at more below, makes QS the single most versatile free tool available for OS X (in my humble opinion of course).

Activating Abracadabra

To start things off, fire up Quicksilver and go to the preferences menu. On the top of the window you should see a strip of buttons, click on “Plug-ins” to see the screen below.


Click on the Abracadabra Plug-In

Here is where you activate the various plug-ins, each of which extend Quicksilver in a unique way. The one we’re looking for is called “Abracadabra Triggers” and usually hangs out near the top. Just make sure it’s selected and then click back to the “Preferences” tab.

Setting the Shortcut

Click on the Abracadabra item in the list on the far left to bring up the options. Here you can choose how to implement the mouse gestures. What this means is that QS will only begin to recognize your mouse movement if a given condition is met. You set a specific key modifier such as Caps Lock or command, or a specific mouse button as the action that begins the mouse tracking.


Abracadabra Preferences

You’ll know when QS is analyzing your gestures because your cursor will suddenly start leaving trails. Cutesy little animated stars will follow you wherever you go. I wish you could choose something a little more masculine, but I guess this works just fine. Just don’t let your college buddies see it or they’ll no doubt demand that you work your magic to provide them with unending mouse glitter as well… or just make fun of you.


Pretty stars will follow your mouse!

Setting up Triggers

Now that we’ve got the glitter situation squared away, click on the “triggers” button along the top and add a command via the menu at the bottom. The little window that pops up will give you the option of creating a hotkey or gesture command, select gesture.


Go to the Triggers menu and add a command

This will pop open another little window that allows you to setup a Quicksilver action just as if you were implementing the command live. The only difference is that this action will run automatically when you perform the gesture.

To start with something basic, I set it up so that Safari would activate when the proper gesture is detected from the mouse input.


Record the Quicksilver Action for the Gesture

Once you’ve got your action recorded, double click on the area to the right under “Trigger” near the command symbol. This should slide open a window that you can use to record the specific gesture that you want to use to activate the command.


Record the Gesture

I recommend keeping your gestures as basic as possible without being something that you accidentally activate all the time. Complicated swirl patterns are not only hard to remember, but hard to replicate the same way twice.

Once you’ve sketched out your gesture you’re ready to go! Close out the preferences, click your designated mouse button or modifier key, draw the gesture that you setup and the action should be implemented.

Going Further

Launching applications with gestures is all well and fine, but it doesn’t scratch the surface of the unique and useful applications for this technology. Let’s do something a little more complicated.

As a web designer, I’m constantly typing in the same snippets of code over and over again. Wouldn’t it be nice if I could just wave my mouse around and have my favorite snippets automatically inserted into my text like some sort of gift from the OS X fairy? Functionality like that might stand alone as a $10 app, but it’s also really easy to implement free using the same steps we went through above. You can also use this type of workflow to create a password manager to help you log into various services.

The Shelf

To accomplish this feat, we’ll need to familiarize ourselves with another of Quicksilver’s dandy hidden features: the shelf plug-in. Like we did before, go to your plug-ins menu and activate the shelf. Now launch the QS window and hit ⌘⌥S (command-option-s) to launch the shelf.


The Quicksilver Shelf

This is a neat little window that holds text snippets for you to use later. To put some text in the shelf, simply select and drag or copy/paste it in.

Adding Code Snippets

So now all we have to do is go into TextEdit and type out the code snippets we want to reuse.


Record the Quicksilver Action for the Gesture

For anyone nerdy enough to actually understand this process, it’s important to note that you really don’t need to use the shelf for any snippets that are only on a single line. In these cases, just paste the single line of text into the action as you’re recording it (first hit the period key to activate text mode). Unfortunately, that input doesn’t handle multi-line text very well so the shelf is a better route if you’re working with lengthy snippets.

Recording the Action

Back in the “Triggers” menu, setup a command to paste a shelf item into the current text field. To do this, type “shelf” into the first field and navigate to the snippet you want. Then type “paste” into the second field.


Setting the command to paste the snippet

Now setup your gesture and repeat the process for every text snippet you want to implement. This should make it really easy for you to insert frequently used pieces of text with the flick of a mouse.

Other Ideas

Other great ideas for commands to setup with gestures include automating iTunes actions such as play, stop and pause, running a custom AppleScript or launching those fancy Quicksilver constellation menus.


QS Constellation Menu


To sum up, any action that can be done with Quicksilver can also be setup as a trigger, which can then be activated via hotkey or mouse gesture. The mouse gestures are completely customizable but best kept simple for ease of implementation.

Leave a comment below if you have any questions or run into any problems. I found the Snow Leopard QS build to be a bit buggy so just be sure to restart the app if it starts acting strange. Also let me know if you’d like to see a tutorial on any other QS features like setting up and using constellation menus (shown above). I’m more than happy to keep writing about Quicksilver if you’re interested in learning!