# Created by Nando Vieira # http://simplesideias.com.br -- Usage: registerGrowl("myAppName", "Safari.app") on registerGrowl(appName, appIconOf) tell application "GrowlHelperApp" register as application appName all notifications {"Alert"} default notifications {"Alert"} icon of application appIconOf end tell end registerGrowl -- Usage: notifyGrowl("myAppName", "My title", "My description") on notifyGrowl(appName, theTitle, theDescription) tell application "GrowlHelperApp" notify with name "Alert" title theTitle description theDescription application name appName end tell end notifyGrowl