Re: Scripting Eudora
Re: Scripting Eudora
- Subject: Re: Scripting Eudora
- From: "Christopher C. Stone" <email@hidden>
- Date: Tue, 6 Feb 2001 22:14:47 -0600
At 18:38 -0600 02/06/2001, Dale Saukerson wrote:
>
All I want to do is select read messages in one mailbox and move them to another mailbox using the filters keystroke (command J). I've figured out how to count all the messages, but I can't figure out how to count or get only a subset like read or unread. I completely fail to understand how to use the message status syntax.
>
>
This is what I want to do:
>
>
select only the read messages in mailbox "AppleScript Inbox"
>
invoke keystroke command J
___________________________________________________________________________
Hey Dale,
Eudora is certainly not the easiest application to learn to script; it's AppleScript implementation is a bit idiosyncratic.
You cannot do as you desire with AppleScript, because Eudora does not offer whose clauses, nor does it make any of it's filter commands available through AS.
You could loop through every message in a given mailbox and move it according to it's status, but this would be a bit cumbersome and time consuming.
Here's a couple of syntax examples:
tell application "Eudora"
status of message 1 of mailbox "In"
end tell
tell application "Eudora"
move message 1 of mailbox "In" to end of mailbox "out"
end tell
The simplest way to do as you wish is to option-click a read message's status column to group and select all read messages and manually press command-J.
Note that anything you've replied to or forwarded will have a different status and will not be grouped with the read mail.
I usually delete or manually filter mail per item as I read it.
Best Regards,
Christopher Stone
______________________________
StoneWorks Computer Consulting
email@hidden