One thing you could do is pass the --url parameter to growlnotify .
Vaz example:
(
Note that I removed -w from the options, as well as the following open command. Since we use --url , growlnotify handles the callback on its own. You do not need to pause execution, and this method will probably solve the problem that Vaz exposed for several notifications. Passing the line file://... to --url , growlnotify opens the specified file in the system application by default after clicking on the notification.
Final result: --url will handle the URL correctly if you pass it a line starting with http:// . "google.com" or "www.google.com" will not work. The same goes for the structure of your file system, you should provide something like file:///Users/you/Pictures/cats.jpg .
This feature has been available since version 1.4, but from what I checked, it is missing in man .
Sources: https://code.google.com/p/growl/issues/detail?id=341 https://groups.google.com/d/msg/growldiscuss/nUdYxOevkxI/oYjxdhSEi98J
Hope this helps!
source share