Re: Mail scripting
Re: Mail scripting
- Subject: Re: Mail scripting
- From: John Delacour <email@hidden>
- Date: Tue, 12 Aug 2003 22:25:50 +0100
At 4:47 pm -0300 12/8/03, Marcus Rodrigues wrote:
I tried the following solution, but it didn't work =-(
tell application "Mail"
activate
set everyMessage to every message of mailbox "In" of account "Marcus"
account "Marcus" has no mailbox "In". That's just put there to fool you!
tell everyMessage
repeat with i in everyMessage
That makes no sense even in a sane environment!
tell app "Mail"
repeat with msg in messages of mailbox "INBOX" of account 1
if msg's subject contains "a" then
say "see?"
else
say "naw"
end
end
end
JD
_______
if subject is equal to "TESTE" then
beep
else
beep
beep
beep
beep
beep
beep
end if
end repeat
end tell
end tell
It say it can't get the subject of message of mailbox "In" of
account "Marcus", message 4 of mailbox.... and so on...
Where am I going wrong?????
_______________________________________________
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.