Eudora spamcop script
Eudora spamcop script
- Subject: Eudora spamcop script
- From: Applescript User Lewis <email@hidden>
- Date: Sat, 9 Feb 2002 02:35:44 -0700
(*
This is a very simple script I threw together in a few minutes. I'm
sure it's filled with inefficiencies, but it works.
*)
tell application "Eudora 5.1 (OS X)"
try
set MyMessageID to id of message 0
on error
display dialog "Open a Message first, doofus." buttons {"Cancel"} --|
default button "Cancel" giving up after 5 -- part of above line
end try
tell message MyMessageID
set show all headers to true
set will be deleted to true
forward --to nickname "spamcop"
end tell
tell message "" -- The new message
set field "To" to "Spamcop"
queue
end tell
move message MyMessageID to end of mailbox "Trash"
end tell
(*
I have a nickname in my addressbook named "spamcop." When I open a
spam I simply choose the script off the script menu and the message
goes off to be reported and the spam gets deleted.
It would probably be better if it was able to batch process selected
mesages, but I find I am usually overly eager in selecting messages,
so it's bette to open then, look, and then run the script.
Anyway, not much, but it works in 5.1b20
*)
--
___________________________________________________________________________
| applescript@ & "southgaylord.com"| Unix is very user friendly. It's just |
| I frankly do not believe Micro- | picky about who its friends are. |
| soft has the user's interests at | I want a party where all the women wear|
| heart, or even in mind. | new dresses and the men all drink beer.|
---------------------------------------------------------------------------
_______________________________________________
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.