tell application "Safari" set current_url to URL of front document do shell script "grabbit " & current_url tell application "GrowlHelperApp" register as application "Grabbit" all notifications {"Grabbit"} default notifications {"Grabbit"} icon of application "Script Editor" notify with name "Grabbit" title "Screenshot uploaded" description "The screenshot has been uploaded to UI directory." application name "Grabbit" end tell end tell