Growl AppleScript example doesn't seem to work
Posted: Thu Aug 02, 2007 6:01 am
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:
produces this error:
Thanks in advance for any help.
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"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.A from:location can't go after this TIFF picture
Thanks in advance for any help.