Scriptin Mail
Scriptin Mail
- Subject: Scriptin Mail
- From: Marcus Rodrigues <email@hidden>
- Date: Wed, 21 May 2003 08:32:02 -0300
Hello!!! I am scripting Mail.app
As i said before, I want it to:
1 - Act on the unread messages;
2 - open the unread messages;
3 - Print them in the default printer;
4 - Copy their attachments to a remote machine.
The first part I acomplisehd by:
tell application "Mail"
activate
set lista to every message of mailbox "In" of account "Marcus" whose
the is read is false
end tell
But the second I can't =(
I did this:
tell application "Mail"
activate
set lista to every message of mailbox "In" of account "Marcus" whose
the is read is false
open every item of lista
end tell
But it tells me I got an error..
It tells that the items {message 15 of mailbox In of account Marcus,
message 16 of mailbox In of account Marcus, etc...} don't understand
the open command.
What can i do?
Thx for any help =D
o#? Marcus Rodrigues o#?
iBook 600 - Combo - Jaguar
CC4nsul do Brasil Apple Clube - Caxias do Sul
ichat: marcusrodrigues
mailto:email@hidden
http://homepage.mac.com/marcusrodrigues
_______________________________________________
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.