Importing Word documents
Mark Schonewille
m.schonewille at economy-x-talk.com
Thu Jun 9 10:20:42 EDT 2011
Jim,
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
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce
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