Students send me RTF documents as email attachments. Some online email browsers upload files from some versions of MS Word into the body of the email - no file is attached. This gives me the raw RTF code to work with. Like this:
{\rtf1\ansi\ansicpg1252\uc1\deff0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{*\panose … and so on.
I’ve tried to import the code to DT, but I can’t get it to display properly. This, however, works:
copy RTF code and paste to new TextEdit document - still looks like code
save
drag the file to DT - now appears as text
I’d like to eliminate the TextEdit step. Is there any way to convert the code directly with DT?
I want to populate an RTF template via applescript and I find it easier (?) to add my custom text to the raw RTF code after reverse engineering it. Again, it works perfectly by writing to disk, importing to DT, then deleting the disk file, but I was wondering if I can avoid the workaround.