Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Create dynamic Mail signatures via fortune' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create dynamic Mail signatures via fortune
Authored by: robhague on May 07, '04 09:26:54AM
I do the same thing with an AppleScript (but then I didn't know about Mac::Glue - I'll have to check that out). It's worth mentioning that I have the cron job check that Mail is running (using ps and grep) before launching the script. That way, if I'm not running Mail, it won't start up spontaneously every five minutes.

(Another nice feature about doing things this way is that you can have multiple signatures using multiple fortune files, and some that don't use Fortune at all. Handy if you don't want to accidentally send mail with quotes from comics to potential employers.)

[ Reply to This | # ]