Hi.
I have 500+ random tag lines and I'd like to select a different one
each time to include in my signature along with my address and other
details. I don't want to create 500 different random signatures inside
Entourage 2004 as I move address every 12 months or so and it's a pain
to have to edit 500 individual signatures.
Details - Mac OS 10.5, Entourage 2004, Text is in CSV file but can be
reformatted, I don't need graphics or HTML signatures as ASCII is fine.
Hi David!
You can't import signatures but you can use AppleScript to create
signatures and include them in your random list.
Since I'm providing you the basic snippet of AppleScript code below then
I'll take liberty to say that unless you're including those random
signatures for friends that you *know* like to read them then don't do
this! It's one of the most annoying things that you can do when sending
E-mail.
A few random signatures used by a business might allow it to "toss up"
some of its marketing so that it seems fresh. But when an individual
with 500 of these things begins sending me mail I don't take them very
seriously and don't pay them much attention after a while.
With that said...
Since you didn't say how your individual signatures are written into
your CSV file (signature name?, content?) I can't provide you much more
than this (13 lines of text, watch the wrapping):
tell application "Finder"
set theSignaturesFile to choose file
set theSignatures to read theSignaturesFile
end tell
repeat with i from 1 to count of paragraphs in theSignatures
set AppleScript's text item delimiters to ", "
set sigName to text item 1 of paragraph i of theSignatures
set sigContent to text item 2 of paragraph i of theSignatures
tell application "Microsoft Entourage"
make new signature with properties {name:sigName, content:sigContent,
include in random:true}
end tell
set AppleScript's text item delimiters to ""
end repeat
Copy/Paste the code into Script Editor and click the Run button.
This assumes your signature file is formatted like:
Signature 1, This is my first signature...
Signature 2, This is my second signature...
--
bill
William M. Smith, Microsoft Interop MVP - Mac/Windows
Entourage Help Page <
http://entourage.mvps.org/>
Entourage Help Blog <
http://blog.entourage.mvps.org/>