On 17/02/2004, at 16:38 (GMT), Clark Martin, [EMAIL PROTECTED] wrote:

[...]

>It's NOT a matter of filtering it's that the prefix screws up the 
>threading.  It doesn't just mess the order up but it scatters the 
>messages of one thread into several places.  I don't know of any 
>e-mail client that would remove it and even if such existed it 
>couldn't do it right, there are too many variations on how the 
>subject changes with the prefix.

Mailsmith can do it:

<http://www.barebones.com/>

Depending on which email client you use, you could try this Applescript.

(watch for line breaks: this list no longer supports utf-8 for some reason. Substitute 
the name of your MUA wherever "Mailsmith" appears and compile it in Script Editor. 
This script works in Mailsmith from OS 8.6 -> 10.2.8)

================================================

on run
    set the_list to get_list()
    set cl to count items of the_list
    if cl = 0 then display dialog "No message was selected" buttons "Oops!"
    if cl > 1 then display dialog "This script only works on a single
message" buttons "Oops!"
    if cl = 1 then my do_action(the_list)
end run

on do_action(the_message)
    tell application "Mailsmith"
        set myMsg to item 1 of the_message
        set myBox to container of myMsg
        set myTitle to thread title of myMsg
        set myName to "Thread: " & myTitle as text
        set myBounds to {425, 50, 950, 760}
        set myWin to make new mail list window with properties {name:myName, 
bounds:myBounds} �
            with data every message of myBox whose thread title contains myTitle
        -- sort myWin by time received
    end tell
end do_action


on get_list()
    tell application "Mailsmith"
        set retry to false
        try
            set m_list to get selection
            set m_list to m_list as list
            set m to item 1 of m_list
            if class of m is not message then set retry to true
        on error
            set retry to true
        end try
        if retry then
            set retry to false
            try
                set m_list to message of window 1 as list
            on error
                display dialog "WTF?"
                set retry to true
            end try
        end if
        if retry then set m_list to {}
    end tell
    return m_list
end get_list

=================================================

This doesn't remove the PCI tag but gets all messages in the current thread and opens 
them in a new window. I have tested this on the current thread and it works with 
Mailsmith OMM. YMMV...

Regards,

    Phil.
--
The three great virtues of a programmer: laziness, impatience and hubris.
  -- Larry Wall

--
PCI-PowerMacs is sponsored by <http://lowendmac.com/> and...

 Small Dog Electronics    http://www.smalldog.com  | Refurbished Drives |
 -- Sonnet & PowerLogix Upgrades - start at $169   |  & CDRWs on Sale!  |

      Support Low End Mac <http://lowendmac.com/lists/support.html>

PCI-PowerMacs list info: <http://lowendmac.com/lists/pci-powermacs.shtml>
  --> AOL users, remove "mailto:";
Send list messages to:   <mailto:[EMAIL PROTECTED]>
To unsubscribe, email:   <mailto:[EMAIL PROTECTED]>
For digest mode, email:  <mailto:[EMAIL PROTECTED]>
Subscription questions:  <mailto:[EMAIL PROTECTED]>
Archive:<http://www.mail-archive.com/pci-powermacs%40mail.maclaunch.com/>

Using a Mac? Free email & more at Applelinks! http://www.applelinks.com

Reply via email to