• 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: Get sender in Apple Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get sender in Apple Mail


  • Subject: Re: Get sender in Apple Mail
  • From: Martin <email@hidden>
  • Date: Sat, 30 Aug 2008 01:06:45 +0100


On 29 Aug 2008, at 11:34, Joe wrote:

I don't think doing this with GUI scripting is the way to go.

Sorry, I don't understand. I'm using AppleScript.

Mail has a very good AppleScript dictionary. You have many good examples of scripting Mail on your machine. Look in here for examples:

Macintosh HD:Library:Scripts:Mail Scripts:

Check out "Crazy Message Text" to start.

Yes, I've already looked for examples using "sender". I can't find anything close.


Search the list archives for "mail reply" The link is at the bottom of every list message.

Nothing relevant found.

Open Mail's dictionary with Script Editor and check that out too.

Yes, as mentioned in my initial post, I've looked through it.
It lists "sender" as an "object" (or something - I'm not familiar with the terms) but all attempts to get the "sender" variable result in an error message. (I forget what the message was but basically "sender" wasn't recognised.)
I'll have another look when I wake up. It's 1am here and my brain can no longer function!


"Class" refers to objects of a specific type. For example, in mail "message" is one of a large number of classes.


Ed, thanks for your reply, too. I'll peruse it later.

Martin
{-O  ZZZzzzzzz

_______________________________________________
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
  • Follow-Ups:
    • Re: Get sender in Apple Mail
      • From: Joe <email@hidden>
    • Re: Get sender in Apple Mail
      • From: Ed Stockly <email@hidden>
References: 
 >Get sender in Apple Mail (From: Martin <email@hidden>)
 >Re: Get sender in Apple Mail (From: Joe <email@hidden>)

  • Prev by Date: Re: Get sender in Apple Mail
  • Next by Date: Re: Get sender in Apple Mail
  • Previous by thread: Re: Get sender in Apple Mail
  • Next by thread: Re: Get sender in Apple Mail
  • Index(es):
    • Date
    • Thread