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



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to