• 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: Requesting assistance with rtfd and attachments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Requesting assistance with rtfd and attachments


  • Subject: Re: Requesting assistance with rtfd and attachments
  • From: Christopher Stone <email@hidden>
  • Date: Thu, 27 Sep 2012 04:35:01 -0500

On Sep 27, 2012, at 03:55, Brian Christmas <email@hidden> wrote:
I'd very much like to attach files and folders to an rtfd via TextEdit. My attempts so far have been futile.
______________________________________________________________________

Hey Brian,

This is the closest I've been able to get, and it doesn't do what you're wanting...

But maybe it will spark an idea.

--
Best Regards,
Chris

______________________________________________________________________


tell application "Finder"
set sel to selection as alias list
end tell
tell application "TextEdit"
tell front document
set its text to "Now is the time for all good men to come to the aid of their country."
repeat with i in sel
make new attachment at after last word with data (return & (i as «class furl»))
end repeat
end tell
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

  • Follow-Ups:
    • Re: Requesting assistance with rtfd and attachments
      • From: Shane Stanley <email@hidden>
References: 
 >Requesting assistance with rtfd and attachments (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: read a file - Lion vrs Tiger
  • Next by Date: Re: Requesting assistance with rtfd and attachments
  • Previous by thread: Requesting assistance with rtfd and attachments
  • Next by thread: Re: Requesting assistance with rtfd and attachments
  • Index(es):
    • Date
    • Thread