tell application "GrowlHelperApp"
-- Make a list of all the notification types
-- that this script will ever send:
set the allNotificationsList to ¬
{"DVD Import Completed"}
-- Make a list of the notifications
-- that will be enabled by default.
-- Those not enabled by default can be enabled later
-- in the 'Applications' tab of the growl prefpane.
set the enabledNotificationsList to ¬
{"DVD Import Completed"}
-- Register our script with growl.
-- You can optionally (as here) set a default icon
-- for this script's notifications.
register as application ¬
"NitoTV" all notifications allNotificationsList ¬
default notifications enabledNotificationsList
-- Send a Notification...
notify with name ¬
"DVD Import Completed" title "DVD Import Completed" description "Your disc is finished importing." application name "NitoTV" image from location "file:///System/Library/CoreServices/Finder.app/Contents/PlugIns/nitoTV.frappliance/Contents/Resources/DVD.png"
-- notify with name ¬
-- "Another Test Notification" title ¬
-- "Another Test Notification :) " description ¬
-- "Alas — you won't see me until you enable me..." application name "Growl AppleScript Sample"
end tell