Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple mail script not working



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.