Page 1 of 1

Instead of Growl, have Hazel speak what it does

PostPosted: Wed May 27, 2009 7:53 pm
by a_freyer
Really old trick, and well known command but less tech-savvy users might not have heard of it (pun?).

Script:

say "The text between these double quotes will be read aloud by your default computer voice"

ex. say "Hazel has deleted a file larger than 500 mb from your Dropbox folder."

Re: Instead of Growl, have Hazel speak what it does

PostPosted: Wed May 27, 2009 10:18 pm
by Mr_Noodle
Remember you can refer to the filename as $1 (for a regular bash/sh script).
say "$1 is larger than 500 mb and has been deleted from your Dropbox folder."


Depending the filename, you may end up with something unintelligible but it's always fun listening to it try to say random things.