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

Requesting assistance with rtfd and attachments


  • Subject: Requesting assistance with rtfd and attachments
  • From: Brian Christmas <email@hidden>
  • Date: Thu, 27 Sep 2012 18:55:35 +1000

G'day scripters

I'd very much like to attach files and folders to an rtfd via TextEdit. My attempts so far have been futile.

Any suggestions please?

Regards

Santa

tell application "TextEdit"
activate
open (ptd & newFolderName & ".rtfd") as text as alias
end tell
tell application "Finder"
set theContents to (contents of folder newFolderPath) --< Files and folders
end tell
tell application "TextEdit"
activate
tell document frontmost
repeat with eachItem in theContents
try
set end of paragraphs to eachItem
on error errmsg
display dialog errmsg
end try
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: Christopher Stone <email@hidden>
  • Prev by Date: Re: Snow Leopard/QuarkXpress Issue
  • Next by Date: Re: read a file - Lion vrs Tiger
  • Previous by thread: Re: read a file - Lion vrs Tiger
  • Next by thread: Re: Requesting assistance with rtfd and attachments
  • Index(es):
    • Date
    • Thread