Re: Printing a RTF file saved as a custom properties of a stack

2014-04-24 Thread stephen barncard
On Wed, Apr 23, 2014 at 3:00 PM, Charles Szasz csz...@me.com wrote: In the print preview on my Mac, I can see the Rtf “coding” and not the nicely formatted text document I wanted. I have no idea what the clipboard has to do with what you wanted to do here... Anyway - this test should load an

Printing a RTF file saved as a custom properties of a stack

2014-04-23 Thread Charles Szasz
I was able to save a template document as a RTF as a custom properties of a stack. I want to retrieve the template to print it. I can retrieve the file as a variable (see script below) but I do not know how to script printing it as a RTF. Any suggestions? set the itemdelimiter to /

Re: Printing a RTF file saved as a custom properties of a stack

2014-04-23 Thread stephen barncard
Check out RTFText in the docs. I assume you created the template in a livecode field obtained the RTFText of the field into a variable, then set a custom prop to that data, right? then just get the data from the custom property and set the RTFText of a field to it. Livecode now tracks RTF data

Re: Printing a RTF file saved as a custom properties of a stack

2014-04-23 Thread stephen barncard
On Wed, Apr 23, 2014 at 12:16 PM, Charles Szasz csz...@me.com wrote: I can retrieve the file as a variable (see script below) but I do not know how to script printing it as a RTF. Any suggestions? Ok, I hope I've been understanding that your stumbling block was using RTF text. Or do you

Re: Printing a RTF file saved as a custom properties of a stack

2014-04-23 Thread Charles Szasz
Stephen, I created a Rtf document using TextEdit and save it as a Rtf. Then I successfully created a custom property and programmatically store the Rft as a custom property. I then set up a field import in a new substack of my program. I then try the following script: set the itemdelimiter