Page 1 of 1

Growl AppleScript example doesn't seem to work

Posted: Thu Aug 02, 2007 6:01 am
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.

Posted: Sun Sep 09, 2007 1:39 pm
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.)