Re: getting multiple selected messages in Eudora?
Re: getting multiple selected messages in Eudora?
- Subject: Re: getting multiple selected messages in Eudora?
- From: John Delacour <email@hidden>
- Date: Tue, 15 Jul 2003 11:06:49 +0100
- Mac-eudora-version: 6.0a26
At 5:08 pm -0400 14/7/03, KLW wrote:
I am trying to improve a script I wrote for reporting spam to
SpamCop in Eudora
<http://theapotek.com/teknotes/archives/000037.html>. I would like
it to be able to perform its routines on several selected e-mail at
once, instead of just one at a time. The syntax I wish would work,
looks like this:
tell application "Eudora"
set messageCount to (count every message of selection)
repeat with n from 1 to (messageCount - 1)
--Do the work here
end repeat
end tell
This does not work (can't get every ... of ...). Does anyone have a
script where you've succeeded in creating an iterable list of
selected messages in Eudora? I'm using Eudora 6 and Mac OS 10.2.
tell app "Eudora"
set ls to {}
set _senders to {}
set w to the name of the front window
try
file of mailbox w
on error
tell me to display dialog "
A mailbox summary must be frontmost" with icon 0
return
end
repeat
try
set end of ls to move message "" to end of mailbox w
on error
exit
end
end
repeat with m in ls
set end of _senders to sender of m
end
_senders
end
JD
.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.