Cowell Computer Consulting

How to have quicksilver index your login items

Posted by Luke Cowell on July 17, 2007 at 08:03 AM

I use mozy backup. It’s a great product, but I think development is still a little behind on the mac. Long story short, the application ends up taking about 500MB of resident RAM over time. The mozy status app that lives in your menubar is actually embedded inside the main mozy application.

/Applications/Mozy.app/Contents/Resources/Mozy Status.app

This means that if I kill the process, it’s going to be tedious to relaunch it.

Or is it??

I know that this is called as a startup item and so here’s how to get mozy to index your statup items.

Click on catalog and create a defaults reader under custom in quicksilver. Any defaults reader in quicksilver can parse a defaults file (a plist) and return certain results.

I know that the file I’m looking for is loginwindow.plist, so I enter loginwindow without the .plist as the Bundle ID. Similarly if you wanted to index your sidebar items, the file com.apple.sidebaritems.plist would be entered as com.apple.sidebaritems.

Now I open loginwindow.plist in the property list editor. Many of these files are now binary, so opening them in ‘vi’ is no longer an option.

If you’re following along with me you’ll see the parent item is Root. Skip that.
  • The next item is AutoLaunchedApplicationDictionary. Add that to the first line in your quicksilver keys. Now press option-enter to start a new line.
  • Enter ’*’. This tells quicksilver to parse every item under AutoLaunchedApplicationDictionary.
  • Press option-enter again and enter Path. This is the final key and this tell quicksilver that we want to know what is in that key. Because this is a key that represents a path we indicate that the type is a ‘path’. Your settings should look like this:

And if you did everything right, you should have all your login items under contents (after a reload of course).

Tags: (none)