On or near 9/12/03 7:50 PM, Matthew Smith at [EMAIL PROTECTED] observed:

> Now are you actually wanting to find html encoded message which contains
> this string? It won't find any as it is not actually what is displayed in
> the message. That would be like using Find in a web browser to find html
> encoding. It doesn't happen.

Yes; if you wanted to search for a particular HTML tag in HTML messages,
you'd need to use a script to search the HTML part of the message. I'd
probably try using a script that copied the SOURCE of a message into a
window of BBEdit or Tex-Edit Plus, and then use regular expression searching
on it. That would be very slow searching through hundreds of messages,
however.  It might be a bit faster to use some scripting addition that
implements regular expressions, for instance, the free "satimage" scripting
addition (comes with the free Smile editor, or separately), and simply
search within an AppleScript variable. I suggest regular expressions because
I suspect what you are looking for is the contents of an HTML tag, that is,
everything between <!- and -> or something like that.

If all you want is to find any message containing a particular HTML string,
you could define a category in Entourage, "Matched", and simply have
something like this:

    if sourceOfMessage contains searchString then
        set cat to category of theMsg
        copy category "Matched" to end of cat
        set category of theMsg to cat
    end if

Then, after running the script, just have a custom view that displays any
message in the "Matched" category. (Of course, you'd need to remove that
category from all messages between searches.)
-- 
Microsoft MVP for Entourage/OE/Word (MVPs are volunteers)
Allen Watson <[EMAIL PROTECTED]> Entourage FAQ site:
<http://www.entourage.mvps.org/>
AppleScripts for Outlook Express and Entourage:
 <http://members.thinkaccess.net/[EMAIL PROTECTED]/Scripts/>
Entourage Help Pages: <http://www.entourage.mvps.org/>


-- 
To unsubscribe:                     
<mailto:[EMAIL PROTECTED]>
archives:       
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to