Importing Word documents

Mark Schonewille m.schonewille at
Thu Jun 9 10:20:42 EDT 2011


get shell("textutil -convert rtf" && quote & "path/to/file.docx" & quote)

This will produce a file path/to/file.rtf, which you can read with LiveCode.

Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
KvK: 50277553

New: Download the Installer Maker Plugin 1.6 for LiveCode here

On 9 jun 2011, at 16:03, James Hurley wrote:

> If one copies a Word document from within Word and pastes that copy into a LC field, much of the formatting is retained.
> Not so if one just uses:  get url "file:" &  tFileName
> Is there a way, within LC, to obtain the copy and paste formatting, perhaps with an imbedded AppleScript?
> Thanks,
> Jim

More information about the Use-livecode mailing list