Apr 14, '10 07:30:00AM • Contributed by: Anonymous
First put your favorite quotes in a MacRoman encoded text file (most modern editors use UTF8 as the default, so be sure to specify MacRoman instead) somewhere on your hard drive. The quotes should be separated from each other by one empty line. Here's a sample file:
«In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.» (Douglas Adams) «Nothing travels faster than the speed of light, with the possible exception of bad news, which obeys its own set of laws.» (Douglas Adams) «A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.» (Douglas Adams)
Open AppleScript Editor, and copy/paste the following code into it. Change the name of the file and the name of the signatures to match your own configuration:
if application "Mail" is running then set AppleScript's text item delimiters to "\n\n" set myQuote to some text item of (read "/Users/xxxxxx/Documents/Quotes.txt") tell application "Mail" set the content of signature "Personal" to the content of signature "TemplatePerso" & myQuote set the content of signature "Professional" to the content of signature "TemplatePro" & myQuote end tell end if
* * * * * osascript ~/Applications/Randomize\ Signature.app >/dev/null 2>&1
Enjoy!
[robg adds: Previous random signature hints for Mail: via Fink's fortune, pulled from the internet, and a simple one-account version. I have not tested any of these.]
