• 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
Is Mail scriptable ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is Mail scriptable ??


  • Subject: Is Mail scriptable ??
  • From: John Delacour <email@hidden>
  • Date: Sat, 16 Nov 2002 14:25:43 +0000
  • Mac-eudora-version: 5.3a9

I can find no postings to this list and no scripts in Apple's Mail Scripts that hint to me that it's possible to do the most basic thing in Mail -- to get the contents of the message in the front window!

After two Jaguar upgrades with mentions in each of improvements in Mail, I still can't work it out.

The properties of a window 1 do not include 'content' or 'message', so there is no way of knowing what the window contains.

If the window contains an outgoing message, then I can say

get content of outgoing message 1

but that doesn't mean I'll get the content of the outgoing message in the front window -- I may have 5 outgoing messages open.

As to incoming messages, I have no way of reliably getting the content of the message in the front window. The only way to get any message reference is to 'get selection', but unless the message in the front window happens to be the first message selected in the summary window (item 1 of (get selection)) !!, I have no way of getting its content.

Now all this seems so utterly unbelievable that I must be missing something very important and I look forward to enlightenment from the list and a script not exceeding 100 lines that will enable me to get the content and other properties of the message in the front window as you can in any sane application.

JD
_______________________________________________
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: Is Mail scriptable ??
      • From: cricket <email@hidden>
  • Prev by Date: Re: Problem with modification date of file...
  • Next by Date: Re: OS X 10.2.x Script Debugger/Applescript bug
  • Previous by thread: Re: OSACompileExecute grief
  • Next by thread: Re: Is Mail scriptable ??
  • Index(es):
    • Date
    • Thread