• 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: newbie( Mail App)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: newbie( Mail App)
      • From: david <email@hidden>
    • Re: newbie( Mail App)
      • From: david <email@hidden>
    • Re: newbie( Mail App)
      • From: Jean-Baptiste LE STANG <email@hidden>
References: 
 >newbie( Mail App) (From: Richard Nagle <email@hidden>)
 >Re: newbie( Mail App) (From: cricket <email@hidden>)

  • Prev by Date: Re: UI Scripting deep menus
  • Next by Date: Re: newbie( Mail App)
  • Previous by thread: Re: newbie( Mail App)
  • Next by thread: Re: newbie( Mail App)
  • Index(es):
    • Date
    • Thread