• 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: Duplicated Message Content
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Duplicated Message Content


  • Subject: Re: Duplicated Message Content
  • From: Christopher Stone <email@hidden>
  • Date: Thu, 21 Nov 2013 03:13:26 -0600

Hey Axel,

On Nov 21, 2013, at 02:13, Axel Luttgens <email@hidden> wrote:
I must be quite dumb, since I still don't understand what the thread is about...

Lack of understanding is not a proper indicator of intelligence...  :)

But I'm intrigued... ;-)

All of this began with this snippet:

tell application "Mail"
set aMessage to first item of (get selection)
set replyMessage to reply aMessage with opening window
end tell

supposed to replicate the contents of the message upon each invocation.
I don't see such a thing happen here.

Try adding a recipient in the snippet.

Hmm.  That caused the quoted text to be duplicated on Lion, Mountain Lion, and a few times during other experiments on Mavericks.  BUT it's not causing a problem here right at the moment.

I wonder what's causing the right behavior to reassert.  (I have {Quote the text of the original message} turned ON.)

Okay.  I got it to get a little wonky by changing the subject.  Try this and see what happens:

-------------------------------------------------------------------------------------------

tell application "Mail"
  # activate
  set aMessage to first item of (get selection)
  set replyMessage to reply aMessage with opening window
  tell replyMessage
    set address of to recipients to ""
    make new recipient at end of to recipients with properties ¬
      {name:"Christopher Stone", address:"email@hidden"}
    make new recipient at end of to recipients with properties ¬
      {name:"Axel Luttgens", address:"email@hidden"}
    set subject to "Huh?  It's Working Correctly?"

    

  end tell
end tell

-------------------------------------------------------------------------------------------

--
Best Regards,
Chris

 _______________________________________________
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: Duplicated Message Content
      • From: Axel Luttgens <email@hidden>
References: 
 >Duplicated Message Content (From: John <email@hidden>)
 >Re: Duplicated Message Content (From: Axel Luttgens <email@hidden>)
 >Re: Duplicated Message Content (From: John <email@hidden>)
 >Re: Duplicated Message Content (From: Axel Luttgens <email@hidden>)
 >Re: Duplicated Message Content (From: Ron Hunsinger <email@hidden>)
 >Re: Duplicated Message Content (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Duplicated Message Content
  • Next by Date: Re: Windowviews is not allowed assistive access
  • Previous by thread: Re: Duplicated Message Content
  • Next by thread: Re: Duplicated Message Content
  • Index(es):
    • Date
    • Thread