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: scdown on May 06, '04 03:33:15PM
You could also use a slightly different script to put the fortune at the beginning of the outgoing message window (I'm using my own fortune database in this example) - you could then use the script in replies/forwards/redirects...

tell application "Mail"
	activate
	get do shell script "/sw/bin/fortune jackhandy"
	copy return & return & 
          "-----------------------------------" & return & 
          the result & return & return 
          to theFortune
	get content of first outgoing message
	copy theFortune & the result to 
          content of first outgoing message
end tell


[ Reply to This | # ]