Saving a tab formatted field to a file and retaining its formatting

Paul Dupuis paul at researchware.com
Sun Apr 7 21:00:21 EDT 2019


I take it your have tried:

put the rtfText of field "X" into URL 
("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf")

And then reading it back to a new field with:

set the rtfText of field "Y" to URL 
("file:"&specialFolderPath("desktop")&slash&"savedfield.rtf")

and the tab spacing is not preserved?



On 4/7/2019 7:57 PM, Robert J. Earp via use-livecode wrote:
> Dear all, we have a field that is formatted nicely with tabs and want to save that as a file, retaining the tab formatting.  The saved file format ideally should be .rtf but we may be able to use other formats such as .pdf
>
> Anybody got any ideas how to do this ?
>
> Thanks in advance for your suggestions.
>
> best, Bob…
>
> Bob Earp - White Rock, BC, Canada
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list