Scripting Mail
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.