
Signature
Kathy - If you're reading this in your web browser from Google or
similar forum, NNTP "newsreaders" are a better way to access the
content. <http://www.aptalaska.net/~kmorgan/how-it-works.html>
Links to NNTP newsreaders at <http://www.newsreaders.com/>
> There is a setting which may help. I'm not sure if it works on outgoing
> mail or existing mail, or only on new incoming mail. Install the
> Esoteric Settings plugin if you haven't already. (In OS X you can do
> that most easily by finding Eudora in the Finder, Get Info, click on the
> plugins triangle, and put a checkmark in the Esoteric Settings plugin.)
I already have this setting enabled. It doesn't work for outgoing
messages since it looks at the message-id. However, I found a script by
Andres Starr (?) for Eudora 3:
tell application "Eudora"
-- name the application exactly if you are running from the finder.
-- Recommend you run it from OSAMenu
set Report to 0
set Box to name of front window
set boxCount to count every message of mailbox Box
repeat with n from 1 to (boxCount - 1)
--beep
set aa to get field "date" of message n of mailbox Box
set bb to get field "date" of message (n + 1) of mailbox Box
if bb = aa then
set label of message (n + 1) of mailbox Box to 15 -- lowest user
label
set priority of message (n + 1) of mailbox Box to 200 -- lowest
set Report to Report + 1
beep
end if
end repeat
end tell
set Report to (Report as string) & " duplicates marked"
display dialog Report
but it fails on this line:
set aa to get field "date" of message n of mailbox Box
Any ideas why?

Signature
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Sander Tekelenburg - 30 Aug 2006 04:26 GMT
In article
<1hkunsr.c0a7p13r9rmqN%messages.from.usenetREMOVETHIS@gmail.com>,
[...]
> tell application "Eudora"
[...]
> but it fails on this line:
>
> set aa to get field "date" of message n of mailbox Box
>
> Any ideas why?
Because you're letting the script look at outgoing messages, which don't
have a date field ;)

Signature
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"
david - 30 Aug 2006 18:05 GMT
> Because you're letting the script look at outgoing messages, which don't
> have a date field ;)
But they have a date. What is the difference?

Signature
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Sander Tekelenburg - 30 Aug 2006 22:01 GMT
In article
<1hkwclr.1i6dhld4kj2veN%messages.from.usenetREMOVETHIS@gmail.com>,
> > Because you're letting the script look at outgoing messages, which don't
> > have a date field ;)
>
> But they have a date. What is the difference?
Apparently outgong mail's "date" is a different kind of object than that
of incoming mail. Not that I *know* it to be so, but that's what the
error message suggests.
Would be nice if I'm wrong though.

Signature
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"
> There is a setting which may help. I'm not sure if it works on outgoing
> mail or existing mail, or only on new incoming mail. Install the
[quoted text clipped - 5 lines]
> should have a panel "Really Miscellaneous" where you can check a box for
> deleting duplicates.
Having done this little exercise a few times, the removal of duplicates
appears to happen whenever you open (or maybe close) a mailbox. Anyway,
opening it and closing it will clear out any duplicates. (BTW, the
setting suggest this is slow - I have had it permanently enabled for
months and have not noticed any slowness.)
> You may also be able to find the duplicates by careful sorting. I think
> if you click first on the date column and then on the Who column, that
> the messages will be sorted by name and subsorted by date. That should
> put duplicates of messages from the same person right next to each
> other, where you'll be able to notice them by scanning.
This will change the sort order to Who, with the messages roughly in
date order. A better way is to click on the Who column, then Shift/click
on the Date column. This produces a true subsort by date for each sender.
Cheers
David
Kathy Morgan - 06 Sep 2006 06:58 GMT
> > You may also be able to find the duplicates by careful sorting. I think
> > if you click first on the date column and then on the Who column, that
[quoted text clipped - 5 lines]
> date order. A better way is to click on the Who column, then Shift/click
> on the Date column. This produces a true subsort by date for each sender.
Ah, thank you! I knew there was a way to do it, and was too lazy to
read the manual or experiment. Probably time for me to RTFM again. :-)

Signature
Kathy - If you're reading this in your web browser from Google or
similar forum, NNTP "newsreaders" are a better way to access the
content. <http://www.aptalaska.net/~kmorgan/how-it-works.html>
Links to NNTP newsreaders at <http://www.newsreaders.com/>
david - 06 Sep 2006 20:33 GMT
> Having done this little exercise a few times, the removal of duplicates
> appears to happen whenever you open (or maybe close) a mailbox. Anyway,
> opening it and closing it will clear out any duplicates. (BTW, the
> setting suggest this is slow - I have had it permanently enabled for
> months and have not noticed any slowness.)
This doesn't apply to sent messages since this method uses the
message-id and sent messages don't have this header.
Btw, I have used this since Mac OS 7.5 and it has never been slow, in
fact it has never even been noticable. I guess that remarks apply if you
run Eudora from a floppy disk on an SE or something like that.
Couldn't anyone with knowledge of Applescript update the script I posted
to make it work with sent message too? Would be very appreciated:-)

Signature
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Sander Tekelenburg - 10 Sep 2006 05:38 GMT
In article
<1hl9hr9.gr9np11t1kkugN%messages.from.usenetREMOVETHIS@gmail.com>,
[...]
> Couldn't anyone with knowledge of Applescript update the script I posted
> to make it work with sent message too? Would be very appreciated:-)
Scripting in itself isn't hard. The issue is to define exactly what is a
"duplicate". If you can define that, you can adapt the script. If you
need help with that, you can can ask specific questions here and/or at
<news:alt.comp.lang.applescript>. A crosspost would probably be quite
acceptible for such a subject.

Signature
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
Mac user: "Macs only have 40 viruses, tops!"
PC user: "SEE! Not even the virus writers support Macs!"