Description: Takes inputted text from the first pane and uses it to
display a growl notice (the first one is a regular growl, the second
one is a sticky one). The regular one can be used as a supplement to
"Large Type", and the sticky one is useful for a quick, temporary (and
easily dismissible) notepad (helpful when displaying a phone number or
address).

Note: I don't take credit for writing these, they were on the old
forums in the "good ol' days".

Where to save: Actions folder  i.e. ~/Library/Application%20Support/
Quicksilver/Actions/

Script (Display Growl):

using terms from application "Quicksilver"
        on process text theText
                growl(theText)
        end process text
end using terms from

on growl(theText)
        tell application "GrowlHelperApp"
                set the allNotificationsList to {"Quicksilver Growl"}
                set the enabledNotificationsList to allNotificationsList

                register as application ¬
                        "Quicksilver Growl" all notifications 
allNotificationsList ¬
                        default notifications enabledNotificationsList ¬
                        icon of application "iTunes"

                --       Send a Notification...
                notify with name ¬
                        "Quicksilver Growl" title ¬
                        "a quick note:" description ¬
                        theText application name ¬
                        "Quicksilver Growl" icon of application ¬
                        "Quicksilver"
        end tell
end growl

********************** End of Display Growl Script (copy up to "end
growl") ****************

Script (Display Growl Sticky):


using terms from application "Quicksilver"
        on process text theText
                growlStick(theText)
        end process text
end using terms from

on growlStick(theText)
        tell application "GrowlHelperApp"
                set the allNotificationsList to {"Quicksilver Growl"}
                set the enabledNotificationsList to allNotificationsList

                register as application ¬
                        "Quicksilver Growl" all notifications 
allNotificationsList ¬
                        default notifications enabledNotificationsList ¬
                        icon of application "Quicksilver"

                --       Send a Notification...
                notify with name ¬
                        "Quicksilver Growl" title ¬
                        "a quick note:" description ¬
                        theText application name ¬
                        "Quicksilver Growl" with sticky
        end tell
end growlStick

********************** End of Display Growl Script Sticky (copy up to
"end growlStick") ****************

Reply via email to