• 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: Fri, 23 May 2003 14:55:07 -0300

I'm almost there ;-)

With help from some people of this list, I could make Mail to select the messages i want.
Now my problem is to make Mail print them...
Does anyone know how to make it understand the print comand?
Mail.app Dictionary says the print comand works on a list of alias, but I couldn't manage to turn my messages or list of messages in alias =(
Please help!!!!
And thx for the help =)
My code:

tell application "Mail"
activate
set lista to every message of mailbox "In" of account "Marcus" whose the is read is false
set aMessage to every item in lista
-- Select messages
repeat with aMessage in lista
set selected messages of message viewer 1 to {aMessage}
-- Print????
print aMessage -- It doesen't work =(
end repeat
end tell

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: Re: OS X Finder windows and column settings
  • Next by Date: Re: OS X Finder windows and column settings
  • Previous by thread: Scripting Mail
  • Next by thread: Scripting Mail
  • Index(es):
    • Date
    • Thread