Re: newbie( Mail App)
Re: newbie( Mail App)
- Subject: Re: newbie( Mail App)
- From: John Delacour <email@hidden>
- Date: Mon, 14 Apr 2003 19:35:43 +0100
- Mac-eudora-version: 6.0a15
At 10:00 am -0700 14/4/03, cricket wrote:
This is a good place to ask questions if you can put up with the
pathological hatred of Mail that some people have on this list.
Here's a question from one of them:
In any sane mailer it is possible to get the properties of the
message displayed in the front window using simple age-old syntax.
Among the small collection of scripts delivered with Mail.app, there
is not one which attempt this task, which appears to be impossible in
Mail.
Perhaps you can also explain these errors, especially the error in
the last line. If you say that a loop is necessary, then I say that
is ought not to be and that it is not in the Finder or Outlook
Express or any modern app.
tell application "Mail"
try
get focused messages
on error e
e
end try
--> "NSCannotCreateScriptCommandError"
try
get sender of focused messages in the front message viewer
on error e
e
end try
--> "NSCannotCreateScriptCommandError"
try
get sender of (get focused messages in the front message viewer)
on error e
e
end try
--> "Can't get sender of {message 76 of mailbox.....}
end tell
_______________________________________________
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.