• 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 13:21:14 -0700

I was getting errors with "rich text" so I changed to just "text" and it works perfectly! THANKS a ton!

I just started using AS last Friday so you definitely saved me a lot of poking around time in those dictionaries! 

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

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
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