Re: Simple mail script not working
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