# Created by Nando Vieira
# http://simplesideias.com.br
#
# Create a file at "~/Library/Application Support/Quicksilver/Actions/size.scpt" and
# put the code below.


using terms from application "Quicksilver"
on process text theText
set appName to "String Size"

tell application "GrowlHelperApp"
register as application appName all notifications {"Alert"} default notifications {"Alert"} icon of application "Quicksilver.app"
end tell

set theCount to length of theText

tell application "GrowlHelperApp"
notify with name "Alert" title "Text size" description "This text is " & theCount & " characters longer" application name appName
end tell
end process text
end using terms from