On 10/18/00 7:32 AM, "Bruce Klutchko" <[EMAIL PROTECTED]> wrote:
> This is a question for Paul Berkowitz about his "Add contacts' categories E"
> script. I understand that the contacts' categories are added to the Job
> Titles field, and that there is an option not add this info if the field is
> already in use for a given record.
Hi, Bruce,
I'll do my best, although I'm not clear i the question relates to somehow
dealing with this in conjunction with my script, or more generally.
>
> Many of my contacts, imported from Now Contact, placed the contacts'
> professional designations in the "Job Title" field. For example, many of
> these fields are filled with "M.D.", "R.N.", or "Ph.D." The choice of
> placing this info into this field was made by Microsoft when they created
> the import module.
I wonder with maybe it had more to do with Now Contact having different, or
fewer, fields than Entourage? (I don't have Now Contact so I don't know.
just asking).
>
> Looking through the contact field, I noticed that there is also a "Suffix"
> field. Would it be best if the info currently in the Job Title area were
> moved to the "Suffix" field? I'm not concerned with the display -- in fact,
> in the summary view, the display seems better if the professional degrees
> are moved to the summary field. My concern is how this will work if I plan
> to use this data as data in a form letter; for example, if I wish to address
> letters to all the M.D.'s or all the R.N.'s. Will this still work?
>
Certainly, it sounds like a good idea. If your wondering how to do it en
masse, I'd suggest this: Command-click all the contacts who currently have
their suffixes in the Job Title field , and run this script (having cleverly
placed it in the Entourage Script Menu Items folder previously for just such
a purpose):
tell application "Microsoft Entourage"
set theSelection to the selection
repeat with theContact in theSelection
if class of theContact � contact then
display dialog "Oops! Select contacts in the Address Book
itself." with icon 2
return
end if
tell theContact
set theJob to job title
set theSfx to suffix
if theSfx = "" then
set the suffix to theJob
else
set the suffix to theSfx & ", " & theJob
end if
set the job title to ""
end tell
end repeat
end tell
That will put the current "job title" (Ph.D., R.N., or whatever) as the
suffix, or add it on to a suffix (like Jr.) already there, and will make the
job title blank, ready for you to add a real job title if you want. It also
moves it up into big letters right after the name and a comma on the summary
page.
Is this what you were maybe asking for, or was it something else that I
missed?
--
Paul Berkowitz
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>