On Jan 03, 2009, at 13:50:26, Fn wrote:
> imageFromPath ="emesene-logo.png"
Simply assigning to your own local variable cannot work. This line
merely creates a string and names it “imageFromPath”. It does not do
anything else, including load an image.
You need to get an image object by calling Growl.Image.ImageFromPath,
passing the *absolute* path to the file ('emesene-logo.png' is a
relative path). You should then assign that image object to a name.
> this is my call to growl:
>
> notifier.notify("newMsg", title, msg, icon=xxxxx)
> but it's doesn't work
That's because there's nothing named “xxxxx”. If you passed your
“imageFromPath” variable here, that didn't work either, because all
you did was pass a string that doesn't contain image data.
Replace xxxxx with the name of the image object.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Growl Discuss" group.
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
-~----------~----~----~----~------~----~------~--~---