That's great! Can you also please include 'quicklook', 'display as
growl' and 'define using the dictionary' actions in the next version?
The following are the self-defined scripts that I use for that
purpose. For the growl plugin I 'defined' an application that shows up
in the growl preferences and which is set there to be sticky; you can
possibly incorporate into the QS growl ticket.
Quicklook (calls a self-defined shell script 'qklk'):
on open of theFile
set thePath to quoted form of POSIX path of theFile
do shell script "'PATH/qklk' " & thePath
tell application Quicksilver to hide
end open
where the shell script qklk is:
#!/bin/bash
qlmanage -p "$@" >& /dev/null &
Growl some text:
tell application "GrowlHelperApp"
-- Make a list of all the notification types
-- that this script will ever send:
set the allNotificationsList to ¬
{"Text"}
set the enabledNotificationsList to ¬
{"Text"}
register as application ¬
"QS Text" all notifications allNotificationsList ¬
default notifications enabledNotificationsList ¬
icon of application "Quicksilver"
end tell
using terms from application "Quicksilver"
on process text im_text
tell application "GrowlHelperApp"
notify with name ¬
"Text" title ¬
"Selected Text:" description ¬
im_text application name ¬
"QS Text"
end tell
return nothing
end process text
end using terms from
tell application Quicksilver to hide
Define using the system dictionary:
using terms from application "Quicksilver"
on process text inputText
tell application "Finder" to ¬
open location "dict:///" & inputText
end process text
end using terms from