applescript and Growl

The Growl forums have moved to Google Groups, this forum is read only.
hdrapin
Harmless
Posts: 1
Joined: Sun Feb 24, 2008 9:39 pm

applescript and Growl

Postby hdrapin » Sun Feb 24, 2008 9:49 pm

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:

User avatar
Diggory
Growl Team
Posts: 129
Joined: Sat Dec 04, 2004 12:17 pm
Location: London

Postby Diggory » Mon Feb 25, 2008 2:40 pm

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.


Return to “Growl”

Who is online

Users browsing this forum: No registered users