Growl AppleScript example doesn't seem to work

The Growl forums have moved to Google Groups, this forum is read only.
Locked
sbma44
Harmless
Posts: 2
Joined: Tue Jul 31, 2007 2:50 am

Growl AppleScript example doesn't seem to work

Post by sbma44 »

I am admittedly a complete AppleScript novice, but it really seems as if the section related to using files for icons is incorrect (outdated?). Specifically, this code:

Code: Select all

notify with name "My Notification" 
	title "Title"
	description "Description"
	application name "My Application"
	image from location
		"file:///Users/myname/Desktop/icon.png"
produces this error:
A from:location can't go after this TIFF picture
Anyone have any suggestions? I will eventually be attempting to fetch a resource via HTTP to feed in as the icon, fwiw. I'm planning on downloading it to /tmp then passing that path to Growl, but if there's a more direct way to do it that some AppleScript guru knows, I'd love to hear it.

Thanks in advance for any help.
soj
Muffin
Posts: 41
Joined: Tue Aug 29, 2006 5:12 am

Post by soj »

I had problems with that as well.

Looking at the error, I'm wondering what happens if you reference a .tiff file. (But I think when I was playing with this, I tried ref'ing a .tiff file with no results.)
Locked