On Sep 18, 1:39 am, "Jon Stovell (a.k.a. Sesquipedalian)"
<[email protected]> wrote:
> P.S.: The reason your other script failed is because it created a loop
> by having Quicksilver run the qs command line tool. The shell script
> never exits because qs is waiting for a response from Quicksilver, and
> Quicksilver never responds because it is busy waiting for the shell
> script to complete.
Thanks for the explanation!! It will help me avoid repeating the
mistake in future.
>Your QS scripts will be much easier from now on, Chris, because of
>this tidbit: QS automatically puts the results returned from any
>Applescript action into its first pane.
Thats great! No need to create a file to store my searched results.
The script posted by you does not work for me. However, minor
modifications made it work.
using terms from application "Quicksilver"
on process text thequery
set r to do shell script ¬
"mdfind " & quoted form of thequery
set f to {}
set allparas to every paragraph of r
repeat with apara in allparas
set end of f to (POSIX file apara) as alias
end repeat
return f
end process text
end using terms from