When I ran it, it worked OK for a while. 

I ran another of my scripts (below) and got the problem again, then ran 
yours again and got the same error as before. Restarted Growl and it worked 
again.
Seems strange.


*tell* *application* "System Events"

*set* isRunning *to* (*count* *of* (*every* *process* *whose* bundle 
identifier *is* "com.Growl.GrowlHelperApp")) > 0

*end* *tell*


*if* isRunning *then*

*tell* *application* id "com.Growl.GrowlHelperApp"

-- Make a list of all the notification types 

-- that this script will ever send:

*set* *the* allNotificationsList *to* ¬

{"Plex Media Server Restarted"}

 -- 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* ¬

{"Plex Media Server Restarted"}

 -- Register our script with growl.

-- You can optionally (as here) set a default icon 

-- for this script's notifications.

*register* as application ¬

"Plex Media Server Script" all notifications allNotificationsList ¬

default notifications enabledNotificationsList ¬

icon of application "Plex Media Server"

 --       Send a Notification...

*notify* with name ¬

"Plex Media Server Restarted" title ¬

"Plex Media Server Restarted" description ¬

"" application name "Plex Media Server Script"

 *end* *tell*

*end* *if*

-- 
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/growldiscuss/-/j5ugiyHvxw8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en.

Reply via email to