Requesting assistance with rtfd and attachments
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