We're deprecating this in 2.0.1. Sandboxing kind of killed it, and nobody 
caught it during testing.  

http://code.google.com/p/growl/issues/detail?id=541 is the ticket for improving 
docs like you say here.  

--  
Chris Forsythe
@The_Tick (http://twitter.com/The_Tick)


On Saturday, October 20, 2012 at 8:12 AM, mklement wrote:

> Specifying a POSIX path (other than one starting with /System(!)) results in 
> a spurious complaint about the image type ("Supplied file is not a valid 
> image type").
> The sample that comes with the SDK does work, but if you copy the very same 
> image 
> ("/System/Library/CoreServices/loginwindow.app/Contents/Resources/LogOut.png")
>  to, say, "/Users/jdoe", the command breaks.
>  
> > notify with name ¬
> > "Test Notification" title ¬
> > "Test Notification" description ¬
> > "Icon from POSIX path." application name "Growl AppleScript Sample" image 
> > from location "/Users/jdoe/LogOut.png"
>  
> The above fails unexpectedly.
>  
> By contrast, using the following technique does work (HFS-style path coerced 
> to an alias) with the very same file:
>  
> > notify with name ¬
> > "Test Notification" title ¬
> > "Test Notification" description ¬
> > "Icon from POSIX path." application name "Growl AppleScript Sample" image 
> > from location (":Users:jdoe:LogOut.png" as alias)  
>  
> Incidentally, specifying an HFS-style path as text does not work. If this is 
> by design, it should be made clearer in Growl's AppleScript dictionary, which 
> generically lists "paths" as accepted input.
>  
>  
> --  
> 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/-/uo3GIQxPzkIJ.
> To post to this group, send email to [email protected] 
> (mailto:[email protected]).
> To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
> For more options, visit this group at 
> http://groups.google.com/group/growldiscuss?hl=en.

-- 
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.

Reply via email to