if I do that on my system it will be behind all windows and very
difficult to get at. It will not even be visible in Exposé.
If it works better for you with what you suggested you can change it
easily if you want to use that script (of course this goes for anyone
else reading :)), but I guess you will have your own scripts for that.

"AFAIK, "on open" is enough to make QS understand that files are
given
as input. "

Correct, "on open" is what triggers the Cocoa selector association but
there is also a mechanism in QS when you target any text file in the
first pane that it will choose "Run..." (shell script action for files
with shebang line) , "Run", or "Run AppleScript" automatically as
second pane item if it finds certain phrases within that file. It
doesn't always work (in fact I am not quite sure if its enabled all
the time) but if you wanna know more just look at
QSAppleScriptActions.m set a few breakpoints and work your way up from
there.

Btw, I dunno if it was you or someone else that asked why no icons are
displayed for custom AppleScript actions put in /Library/Application
Support/Quicksilver/Actions... I am working on a version of
Quicksilver which has that bug fixed. I will continue to use it for a
few weeks and see if it is stable enough to put it up somewhere for
others to download.

Cheers,

André

Reply via email to