--Written by Joe Carroll using terms from application "Quicksilver" on process text str set results to " Characters: " & (count characters of str) & "\n Words: " & (count words of str) & "\n Lines: " & (count paragraphs of str) my growlRegister() growlNotify("Word Count", results) set selection of application "Quicksilver" to str end process text end using terms from using terms from application "GrowlHelperApp" on growlRegister() tell application "GrowlHelperApp" register as application "Word Count" all notifications {"Alert"} default notifications {"Alert"} icon of application "Script Editor.app" end tell end growlRegister on growlNotify(grrTitle, grrDescription) tell application "GrowlHelperApp" notify with name "Alert" title grrTitle description grrDescription application name "Word Count" end tell end growlNotify end using terms from