Another guide to Quicksilver


Joe Dunn is doing a nice series of articles on Quicksilver. He’s covered triggers and scripts so far with more on the way.

One thing I disagree with, though, is the excessive use of the “do shell script” AppleScript. I like the “Run Command in Shell” action just fine. But if you want an icon, writing an Obj-C wrapper isn’t too much work. Especially since you have this source code.

I’ve also got a bit more on Quicksilver coming up shortly.


Back to Top ↑

6 Comments so far

Leave a comment
  1. 1

    Thanks Ankur.

    I agree that using an Obj-C wrapper would be the proper way to go. Applescript is for programming noobs like me :D.

  2. 2

    Joe, AppleScript isn’t without it’s uses, but I just prefer not to use it unless it’s necessary.

    I’m looking forward to seeing more of your articles.

  3. 3

    Thanks for this, I need all the info I can get :)

  4. 4

    thanks for cleaning up the qs code!

    regarding scripts/shell commands: one thing i like to use qs for is having a trigger assigned to run a shell script and display the results in large type. the only way i’ve found to do this is via applescript, for example:

    tell application “Quicksilver”
    show large type (do shell script “df -h -t hfs; echo -n ‘Trash: ‘; du -sh ~/.Trash | cut -f1″)
    end tell

    assigned to a trigger this gives me the df command and the size of my trash folder in the large type display.

    is there a better way of doing this without resorting to the applescript? (also, some way of formatting the large type so it was in a mono font would be nice. the large type display doesn’t handle tabs very well either).

    thanks,
    matt

  5. 5

    Matt K, there is another way of doing that without AppleScript. I have a system that handles GUI interaction (among others things) from the command-line, so you could achieve that whole thing from a Terminal without invoking ‘osascript’. I’ll be releasing this sometime.

    Having a monospace font for large type seems like a good idea.

  6. 6

    I will be looking forward to seeing that, as the applescript work-around is a bit convoluted. another issue w/ the terminal output is that it’s not always sized correctly, running ‘cal’ for instance results in large text w/ chopped off display…

    thanks for your time.
    -matt

RSS feed for comments on this post. TrackBack URI

Leave a comment

Comments may be edited for formatting.