• 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
Re: Mail scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail scripting


  • Subject: Re: Mail scripting
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 12 Aug 2003 15:19:37 -0700

On Tuesday, August 12, 2003, at 12:47 PM, Marcus Rodrigues wrote:

Where am I going wrong?????

Eliminate the inner "tell" wrapper.

tell application "Mail"
activate
set everyMessage to every message of mailbox "In" of account "email@hidden"
-- tell everyMessage
repeat with i in everyMessage
if subject of i is equal to "TESTE" then
beep
else
beep
beep
beep
beep
beep
beep
end if
end repeat
-- end tell
end tell

--
"My country, right or wrong: if right, to be kept right; and if wrong, to be set right."
Senator Carl Schurz of Missouri, 1899
_______________________________________________
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.
References: 
 >Mail scripting (From: Marcus Rodrigues <email@hidden>)

  • Prev by Date: Re: Mail scripting
  • Next by Date: Re: Where is "osascript"?
  • Previous by thread: Re: Mail scripting
  • Next by thread: Mail scripting
  • Index(es):
    • Date
    • Thread