qslaunch

Launch stuff from Quicksilver using python

Overview

qslaunch is a small framework to launch stuff from Quicksilver.

The trick is to create a python script containing a bunch of rules. Quicksilver executes the script using a given name that the script will match against the rules.

If a match is found, the command associated with the rule is executed.

The command can be any python code you supply. Or it can be one of the included commands…

qslaunch comes with a few predefined commands that can:

  • using iTerm:
    • create an iTerm session (either in a new window or in a new tab of an existing window) based on a bookmark as defined in iTerm's bookmark manager;
    • create an iTerm session and execute an arbitrary command in it, allowing to start any software requiring the use of a terminal;
    • create an iTerm session in the folder of the current Finder window;
  • for TextMate:
    • change the current theme in TextMate;
    • create a new empty file from a template in TextMate.

License

This software is released under the Apache License, version 2.0.

Installation and usage

Have a look at qslaunch’s documentation. There’s also the pdf version.

Source and files

You can find the official releases on pypy's qslaunch page.

You can browse the source and a few examples on qslaunch’s mercurial repository.

You can clone the source:

1
$ hg clone http://bitbucket.org/greyw/qslaunch/

Examples

There are some examples in the documentation, in the source repository, and on this blog entry: Launching iTerm shells from Quicksilver.