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


Click here to return to the 'A real random fortune signature for Mail.app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A real random fortune signature for Mail.app
Authored by: taxi on May 26, '04 04:38:52AM

Okay, I've amost finished the multi-account version:

[code]
tell application "Mail"
set sigs to {}
repeat with each in every account
set fortune to do shell script "~/bin/fortune"
set realname to full name of each
set email to email addresses of each
set sig to "--
" & realname & " <" & email & ">
" & fortune
set sigs to sigs & sig
end repeat
--set content of signatures to sigs
end tell
[/code]

As you can see by my commented out line, I cannot figure out how to get Mail.app to accept the signatures back in.

At least this version gets the real name and email address!



[ Reply to This | # ]
A real random fortune signature for Mail.app
Authored by: DoctorJ on May 28, '04 02:30:38PM

So will this work if i only have 1 account, but use multiple signatures?

---

Using a rusty Amiga 4000T & a shiny Mac PowerBook G4



[ Reply to This | # ]