• 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: Can I speed up Mail content setting?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I speed up Mail content setting?


  • Subject: Re: Can I speed up Mail content setting?
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 29 May 2015 22:17:59 +1000

On 29 May 2015, at 10:10 pm, Brian Christmas <email@hidden> wrote:
>
> I can’t work out from your explanation how to insert Attachment 1 before all the text, Attachment 2 to before paragraph (count-4), and the last Attachment at the end.

You probably don't have that level of control -- so you may need to keep adding them via Mail scripting.

Well, that's not strictly true. Attributed strings can include attachments within them -- an attachment in an attributed string is actually just an attribute you apply --  so you may be able to assemble your attributed string so it contains the attachments, and pass that. I haven't tried it, but the theory is sound. That might well be the best bet...

> The main repeat is for two passes at creating the email.

I meant your repeats within the regex searches in your last post.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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: Can I speed up Mail content setting?
      • From: Brian Christmas <email@hidden>
References: 
 >Can I speed up Mail content setting? (From: Brian Christmas <email@hidden>)
 >Re: Can I speed up Mail content setting? (From: Shane Stanley <email@hidden>)
 >Re: Can I speed up Mail content setting? (From: Brian Christmas <email@hidden>)
 >Re: Can I speed up Mail content setting? (From: Shane Stanley <email@hidden>)
 >Re: Can I speed up Mail content setting? (From: Brian Christmas <email@hidden>)
 >Re: Can I speed up Mail content setting? (From: Shane Stanley <email@hidden>)
 >Re: Can I speed up Mail content setting? (From: Brian Christmas <email@hidden>)

  • Prev by Date: Selecting Files in a Spotlight Window with System Events
  • Next by Date: Re: Can I speed up Mail content setting?
  • Previous by thread: Re: Can I speed up Mail content setting?
  • Next by thread: Re: Can I speed up Mail content setting?
  • Index(es):
    • Date
    • Thread