using terms from application "Growl"
on perform action with notification
(* What you do with the notification goes in here*)
end perform action
using terms from application "Growl"
on evaluate notification with notification
ignoring case
if notification's app name is "Dropbox" then
return {display:"notification-center"}
end if
if notification's app name is "Adium" then
return {display:"Music Video"}
end if
end ignoring
end evaluate notification
end using terms from
--
You received this message because you are subscribed to the Google Groups "Growl Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to growldiscuss...@googlegroups.com.
To post to this group, send email to growld...@googlegroups.com.
Visit this group at http://groups.google.com/group/growldiscuss.
For more options, visit https://groups.google.com/groups/opt_out.
"The Bitly link is " & shortURL application name "Box Bitly"
end tell
end if
end ignoring
end run
--test
using terms from application "Growl"
on perform action with notification
ignoring case
if notification's app name is "test growl" then
activate me
display dialog "goodbye" with icon 1
end if
end ignoring
end perform action
end using terms from