Mark threads I'm involved in

  • Thread starter Wolfgang M. Schmitt
  • Start date
W

Wolfgang M. Schmitt

Hi,

I'd like to mark all the threads I'm involved in with a different color.
Automatically. Well, I know ho to mark messages I wrote but how can I catch
any reply?
 
P

Paul Berkowitz

I'd like to mark all the threads I'm involved in with a different color.
Automatically. Well, I know ho to mark messages I wrote but how can I catch
any reply?

Make a rule:

Match if ANY criteria are met

If
<From> <Contains> <[email protected]>
<Specific header> <References> <Contains> <[email protected]>
<Specific header> <In-Reply-To> <Contains> <[email protected]>
Then

<Set category> to <Whatever>

That will catch your original message coming back from the server (in the
case of newsgroups and mailing lists: don't bother with that first "If" if
just for regular email) and replies to your list/newsgroup messages
("References") and personal email ("In-Reply-To").

To catch your own outgoing messages as sent messages the Preference for
Address Book - set message categories to senders' categories should take
care of it.



--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
 
W

Wolfgang M. Schmitt

Hi, Paul,

Make a rule:
[...]

If
<From> <Contains> <[email protected]>
<Specific header> <References> <Contains> <[email protected]>
<Specific header> <In-Reply-To> <Contains> <[email protected]>

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.

Perhaps I forgot to mention that I'm using Office:mac 2004...

Thanks for your help.
 
P

Paul Berkowitz

Make a rule:
[...]

If
<From> <Contains> <[email protected]>
<Specific header> <References> <Contains> <[email protected]>
<Specific header> <In-Reply-To> <Contains> <[email protected]>

The condition "<Specified header>" only exists for e-mail messages, not for
news. Did I overlook anything?

No, you're right. I was thinking of Custom Views, where all the criteria are
available for news messages as well. News Rules are very much less
versatile. I suppose there might be a way to run a script from an Outgoing
Rule that assigns a category to the sender of the message you're replying to
.. But then _all_ their messages would have that category - not what you
want. News message replies also don't have links to the messages they're
replying to, so that's no good either.

But a news rule on All Messages or specified newsgroups running an
AppleScript that looked for the References header would work.


tell application "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
set theHeaders to headers of theMsg
set AppleScript's text item delimiters to {return & "References: "}
try
set theRefs to text item 2 of theHeaders
set theRefs to paragraph 1 of theRefs
on error -- no References
set AppleScript's text item delimiters to {""}
return
end try
set AppleScript's text item delimiters to {""}
if theRefs contains "[email protected]" then
set category of theMsg to {category "Personal"} --< name of category
here
end if
end tell

Perhaps I forgot to mention that I'm using Office:mac 2004...


--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
 
W

Wolfgang M. Schmitt

Paul Berkowitz said:
But a news rule on All Messages or specified newsgroups running an
AppleScript that looked for the References header would work.

Thanks, Paul. Since there are some more missing functions I switched
back to MacSoup as my newsreader. I'll keep yor hints saved on my
harddisk - you never know. :)
 
C

Corentin Cras-Méneur [MVP]

Wolfgang M. Schmitt said:
Thanks, Paul. Since there are some more missing functions I switched
back to MacSoup as my newsreader. I'll keep yor hints saved on my
harddisk - you never know. :)

The problem I've had in most newsreaders is that they usually let you
tag messages from a specific person but don't make it easy to tag a
thread some people participated to.
The Script Paul mentions seems nice, but from what I understand it only
filters the messages and tags messages posted by you (and not any new
message from a thread you participated to a while back). Did I get it
right Paul ??
I really miss that feature and that's one of the reasons I also still
use MacSoup :-\


Corentin
 
M

Mickey Stevens

The Script Paul mentions seems nice, but from what I understand it only
filters the messages and tags messages posted by you (and not any new
message from a thread you participated to a while back). Did I get it
right Paul ??

No. Recall that Entourage places the sending e-mail address in the
Message-ID for both e-mail messages and newsgroup posts. Paul's script
looks for the specified (your) e-mail address in the References header of
incoming news messages. If it exists, that means that you must have posted
to that thread earlier, and thus the message is given a different category.
 
C

Corentin Cras-Méneur [MVP]

Mickey Stevens said:
No. Recall that Entourage places the sending e-mail address in the
Message-ID for both e-mail messages and newsgroup posts. Paul's script
looks for the specified (your) e-mail address in the References header of
incoming news messages. If it exists, that means that you must have posted
to that thread earlier, and thus the message is given a different category.



True. I never thought of the Reference header. That sounds like a noce
option :)) I think I can even adapt it to other newsreaders (like
HogWasher for instance. Thanks a lot for claryifying this Mickey,


Corentin
 
Top