• 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: Ken Tozier <email@hidden>
  • Date: Thu, 30 Aug 2007 15:03:42 -0400

Looks like I spoke too soon.

I tried a few tests with your modified script and it still crashes mail.

I think it's a bug in Mail as the script isn't doing anything complex and the crash happens so fast. The instant mail gets the message, bam! it crashes.


On Aug 30, 2007, at 2:49 PM, Michelle Steiner wrote:

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




_______________________________________________
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
References: 
 >Simple mail script not working (From: Ken Tozier <email@hidden>)
 >Re: Simple mail script not working (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Simple mail script not working
  • Next by Date: Re: XML - System Events vs XMLlib
  • Previous by thread: Re: Simple mail script not working
  • Next by thread: Re: Simple Mail Script Not Working
  • Index(es):
    • Date
    • Thread