Page 1 of 1

applescript and Growl

Posted: Sun Feb 24, 2008 9:49 pm
by hdrapin
hello,

I'm using this script with growlHelperapp, but nothing appends

can you help me, My script is well register in Growl.

Code: Select all

tell application "GrowlHelperApp"
	
	set the List_of_alerts to {"My first notification"}
	
	set the enabledNotificationsList to {"My first notification"}
	
	register as application "My Script Growl" all notifications List_of_alerts default notifications {"My first notification"} icon of application "Finder"
	
	notify with name "Mon alerte" title "hello" description "blalbla" application name "My Script Growl" icon of application "Finder"
	
end tell
I'm using growl 1.1.2 on Leopard

Thanks a lot :smile:

Posted: Mon Feb 25, 2008 2:40 pm
by Diggory
You've tried to send a notification which isn't registered.


i.e. try changing the 'notify' line to this:

Code: Select all

   notify with name "My First Notification" title "hello" description "blalbla" application name "My Script Growl" icon of application "Finder" 

or alternatively add 'Mon alerte' to the registered and enabled notifications lists.