• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Scripting Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Mail


  • Subject: Scripting Mail
  • From: Marcus Rodrigues <email@hidden>
  • Date: Tue, 20 May 2003 15:10:32 -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.

  • Prev by Date: igPay atinLay, first pass
  • Next by Date: Re: igPay atinLay, first pass
  • Previous by thread: Re: igPay atinLay, first pass
  • Next by thread: Scripting Mail
  • Index(es):
    • Date
    • Thread