• 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: Simple mail script not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple mail script not working


  • Subject: Re: Simple mail script not working
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 30 Aug 2007 11:49:01 -0700

On Aug 30, 2007, at 10:47 AM, Ken Tozier wrote:

Here's the script could someone point out what I'm doing wrong?

using terms from application "Mail"
on perform mail action with messages selectedMessages
-- activate -- tried this both commented and uncommented, no difference
repeat with aMessage in selectedMessages
display dialog aMessage
end repeat
end perform mail action with messages
end using terms from

using terms from application "Mail"
on perform mail action with messages selectedMessages
tell application "Mail"
-- activate -- tried this both commented and uncommented, no difference
repeat with aMessage in selectedMessages
set messageContent to content of aMessage
display dialog messageContent
end repeat
end tell
end perform mail action with messages
end using terms from


The crash was probably caused by your script.

-- Michelle

--
We are like tenant farmers chopping down the fence around our house for fuel when we should be using nature's inexhaustible sources of energy - sun, wind and tide. I'd put my money on the sun and solar energy. What a source of power! I hope we don't have to wait until oil and coal run out before we tackle that.
-- Thomas Alva Edison (1847-1931)


_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Simple mail script not working
      • From: Ken Tozier <email@hidden>
    • Re: Simple mail script not working
      • From: Ken Tozier <email@hidden>
References: 
 >Simple mail script not working (From: Ken Tozier <email@hidden>)

  • Prev by Date: Mac Mail does not work as I want :)
  • Next by Date: Re: Simple mail script not working
  • Previous by thread: Re: Simple mail script not working
  • Next by thread: Re: Simple mail script not working
  • Index(es):
    • Date
    • Thread