Re: applescript-users digest, Vol 3 #1367 - 17 msgs
Re: applescript-users digest, Vol 3 #1367 - 17 msgs
- Subject: Re: applescript-users digest, Vol 3 #1367 - 17 msgs
- From: Francine Mack <email@hidden>
- Date: Mon, 24 Feb 2003 11:17:20 -0600
Message: 7
Date: Mon, 24 Feb 2003 09:42:22 +0000
To: email@hidden
From: John Delacour <email@hidden>
Subject: Re: Eudora script will not compile
At 11:08 pm -0600 23/2/03, Francine Mack wrote:
tell application "Eudora"
display dialog "The selected messages will be deleted after
This script works in two stages -- first it builds a list of selected
messages for any purpose you may have, and then it moves each item in
the list to the trash, which is your present purpose. You can do it
in one stage if you like.
tell application "Eudora"
set mailboxName to the name of the front window
set messageList to {}
(* Get a list of references to selected messages *)
repeat
try
set m to move message "" to the end of mailbox mailboxName
copy m to the end of the messageList
on error
exit repeat
end try
end repeat
(* Move the messages to the Trash mailbox *)
repeat with msg in messageList
move the msg to the end of mailbox "Trash"
end repeat
end tell
Forgive my ignorance. I am confused. The messages that I want to
remove permanently are already in the trash. I want to have a choice
of other than all or nothing. I want to chose the age of items to be
erased from the trash. I want to erase them after X hours.
What about the messages in parenthesis? Do I need to leave as they
are or add additional information?
TIA,
Francine
_______________________________________________
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.