dotjay.co.uk

17 April 2008 : Mac snippet solution: Quicksilver Shelf

I’ve been looking around for something that I can store little bits of text in and then easily grab them when I need them. There are a few note-taking solutions for Mac out there that would suit, but I tend to use TextMate for notes – its templates and snippets are great for the majority of what I do – fairly big chunks of predefined text. Then I stumbled across an item on Lifehacker about Quicksilver’s Shelf. I use Quicksilver for other things anyway, so I gave it a whirl.

Using Quicksilver’s Shelf

Quicksilver’s Shelf is fairly basic for text, but it suits my needs fine. To use it, you’ll need to make sure the Shelf is installed.

  1. Open up Quicksilver’s plug-ins preferences and find the Shelf Module under All Plug-ins.
  2. Make sure the box next to it is ticked.
  3. Once it is installed, you may need to restart Quicksilver.

To save an item to the Shelf:

  1. Invoke Quicksilver (I use Control+Space Bar).
  2. Press the . key (period) to enter Quicksilver’s text mode.
  3. Type or paste in some text that you want to save on the Shelf.
  4. Hit the Tab key and as you begin to type “shelf” you should see the “Put on Shelf” action come up.
  5. Hit Enter and your text is saved.

To recall items from the Shelf:

  1. Invoke Quicksilver.
  2. Type “shelf” and you should see the Shelf item appear – not the Shelf & Clipboard (Catalog) entry.
  3. Press the Right Arrow key to see the items on your Shelf.
  4. Press the Tab key to select an action. for some reason Large Type tends to be the default, but as you begin to type “copy” you should see the “Copy to Clipboard” action appear.
  5. Hit Enter and the item is in your clipboard ready to be pasted out.

If you’re a Quicksilver freak, it’s definitely worth checking out some of the Shelf’s other capabilities though. Check out the item on Lifehacker about Quicksilver’s Shelf for more on that.

Deleting Quicksilver Shelf items

The one thing that I really needed to do as I was testing it out was to delete a Shelf item once I’d put it in. There’s no option to delete a Shelf item in the command window or the catalog. According to one source, you used to be able to drag your saved Shelf items off to Trash. Nope, don’t work for me. Actually, if you invoke Quicksilver, bring up the Shelf, hit Tab and select the “Open” action, the Shelf window will pop open. You can drag items from this Shelf window to Trash.

Update: Thanks to a comment from Michael, I now know that the easier way to bring up the Shelf window is by invoking Quicksilver and then using Command+Option+S. From there you can select the item you want to delete and then hit Delete or Backspace.

Code monkeys will be fine with this approach though: Find your Quicksilver Shelves in your home directory, typically in /Users/[you]/Library/Application Support/Quicksilver/Shelves. Open up the Shelf file in your favourite text editor and remove the offending dict item from the XML.

Get more from the Shelf

I might be wrong, but I get the feeling the Shelf feature has been neglected of late. It seems you used to be able to dock the Shelf to the side of your screen, which might be useful, but I can’t get that to work in the latest version. Mind you, I’m quite happy invoking Quicksilver whenever I need something.

One thing you can do to help is set up a custom trigger (keyboard shortcut) that opens up the Shelf window. To do this:

  1. Open up the Triggers preferences in Quicksilver.
  2. Hit the plus icon at the bottom to add a new trigger; select HotKey.
  3. Bring Shelf up by typing “shelf” in the “Select an item” box.
  4. In the “Action” box, select Show by typing “show”.
  5. Save that and then double click on the HotKey symbol to the right to edit the action’s keyboard shortcut.
  6. Select the “Edit” button and set your chosen shortcut; I use Control+Option+Command+Space Bar.
  7. You can then close the window and try it out.

10 Comments

Comment 1

Good post. I found it because I’m running into trouble with this feature.

Whenever I type “shelf” I don’t see a Shelf item. I only see the Shelf & Clipboard (Catalog) entry.

I have a couple macs—all running Leopard—and I’ve tried the configuration steps several times but no luck.

steve, 8 May 2008 at 1956

Comment 2

Hi Steve. Before you can see the Shelf, I found you had to quit Quicksilver and then open it again. Also, make sure you have saved something to the Shelf, otherwise it may not appear.

dotjay, 12 May 2008 at 1114

Comment 3

To get the “Put on Shelf” action to appear, I had to go into my Quicksilver preferences and specifically enable the action. Under the preferences tab, in the actions list, the Put on Shelf action was unchecked by default.

Checking this box enabled this functionality.

(Maybe the plug-in should be updated to automatically check this box?)

Isaac Zafuta, 19 June 2008 at 2245

Comment 4

Steve,

I had the same problem. Quitting and restarting Quicksilver made no difference.

I had to rescan the Catalog (Quicksilver -> Preferences -> Select ‘Shelf & Clipboard’ and then click the small circular arrow at the lower right.

Then the Shelf item appeared in QS.

Ray, 20 June 2008 at 0203

Comment 5

Invoke CMD⌘ OPT⌥ S to show Shelf and click on the shelf you want to delete and hit delete. Done! Hope this helps

Michael Tung, 20 June 2008 at 2103

Comment 6

Thanks, Michael! Quicksilver is so much easier when you take the time to figure out/set keyboard shortcuts!

dotjay, 21 June 2008 at 0901

Comment 7

Thanks for the great post. iClip is good alternative too. All you need to do is highlight and copy the text and it’s automatically stored in iclip for later pasting. I believe I’ve got the older lighter version, not the graphic-heavy new one.

Arif Vakil, 4 October 2008 at 0040

Comment 8

Thanks, Arif. It was nice to find such functionality built into Quicksilver, which I was already using. I’ve been looking at Evernote lately, which looks really cool.

Jon Gibbins, 5 October 2008 at 2035

Comment 9

Hi,
I’m having the exact same problem that Steve is having. I see “Shelf & Clipboard (catalogue)”, not “Shelf” in the triggers “select an item” window. In the second box there is no option to “show”. “Show entry in catalogue” is the closest I come to the right action, but this doesn’t do it. Shelf works by using the cmd + opt + s key. So, Shelf is working in QS. Anyone have a solution to this?

PhilosopherDog, 5 December 2008 at 1632

Comment 10

Philosopher,

Go to Quicksilver, Catalog and select Modules on the left side. Select Shelf & Clipboard on the right side and hit the reload arrow on the bottom right. That should enable it.

Stuart, 7 December 2008 at 0229

Commenting is closed for this entry, but please contact me to share your thoughts.

Jon Gibbins is a web developer and accessibility geek; dotjay.co.uk is his online home.

Associating

Site Information

dotjay.co.uk is published with Textpattern. There are feeds.

Copyright

© 2004–2009 Jon Gibbins (dotjay). Some rights reserved.

Content on this site has a Attribution-Noncommercial-Share Alike License, except where otherwise noted.