> Shell script waits for Quicksilver to show the results (that you piped
> into it) and Quicksilver waits for the shell script to finish. That's
> the reason, it doesn ot work.

Interesting. I noodled around some more and came up with the following
script, which has its own bizarre problem:

using terms from application "Quicksilver"
        on process text inputText
                set theResult to do shell script "echo " & inputText & " | bc"
                open theResult
        end process text
end using terms from

The problem is that if I have the previous script open in script
editor (which makes QS hang), replace it with this, and save it, it
works fine in QS. But if I relaunch QS, the script itself is not
available as an action: it's as if QS ignores it completely. My choice
seems to be between having an action that QS recognizes but hangs on,
and one that QS doesn't recognize but runs fine.

> Does the services menu in Snow Leopard have a shortcut like  Cmd+* to
> "Show Result of Applescript" under Script Editor sub-menu? If there is,
> then you can write somethings like 3+4, select it and press the shortcut
> and the result will be displayed.

You're suggesting taking the whole calculation problem out of QS then?

Reply via email to