• 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: using reply all
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using reply all


  • Subject: Re: using reply all
  • From: Emily Ong <email@hidden>
  • Date: Tue, 18 Oct 2011 14:28:43 -0700

In the same sense, does that mean - 

make new attachment with properties {file name:theAttachment} at after last paragraph

will not work when using a reply to a message? I just get a line of text with the attachment instead of the attachment itself. Seems like the rules are different when replying to an email. 

Thanks,
emily


On Oct 18, 2011, at 1:07 PM, Craig Sutherland wrote:

Paul,

A message's content is read only. Take a look at the Text Suite for Mail to see the classes and elements available in it. It takes a lot of poking around in  dictionaries to get a sense of the the inherited capabilities of different properties and elements. Lots.

Craig Sutherland 
On Oct 18, 2011, at 2:07 PM, Paul Scott wrote:

Nice. Once again AS lives up to its promise of being user friendly!

Any idea why set content of theNewMessage to "###enter message content here###" doesn't work? And what's more, how could one possibly glean the correct solution from the dictionary?

Paul

On Oct 18, 2011, at 11:50 AM, Zack Jarrett wrote:

I use the following with reliable results:
tell newMessage
make new rich text at before the first paragraph of content with data "message content or whatever"
end tell

Good luck!
Zack

On Oct 18, 2011, at 10:08 AM, Emily Ong wrote:

Hi there-

I'm trying to automate a simple reply all to a selected email from the inbox, but for some reason, I can't add content to the reply email.
The console seems to say that the content is being "set", but nothing appears in the generated email (just the old reply to content). Am I doing something wrong here?

Thanks in advance!

tell application "Mail"
set theSelection to selection
set theMessage to item 1 of theSelection

try
set theNewMessage to reply theMessage with opening window and reply to all
tell theNewMessage
set content of theNewMessage to "###enter message content here###"
end tell

end try
end tell


 
Emily Ong
Interactive Producer | Apple Inc.
email@hidden | 408.862.5344




 _______________________________________________
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: using reply all
      • From: Craig Sutherland <email@hidden>
References: 
 >using reply all (From: Emily Ong <email@hidden>)
 >Re: using reply all (From: Zack Jarrett <email@hidden>)
 >Re: using reply all (From: Paul Scott <email@hidden>)
 >Re: using reply all (From: Craig Sutherland <email@hidden>)

  • Prev by Date: Re: using reply all
  • Next by Date: Re: using reply all
  • Previous by thread: Re: using reply all
  • Next by thread: Re: using reply all
  • Index(es):
    • Date
    • Thread