Problem with pasting from a Rev App to Pages..

Bob Sneidar bobs at twft.com
Wed May 2 18:39:23 EDT 2012


Don't you want to do that in the reverse order? You are setting the clipboard to the rtftext of the field, but what you do to the field after that is irrelevant to the clipboard. 

Bob


On May 2, 2012, at 3:23 PM, Charles Szasz wrote:

> Mark,
> 
> I tried your suggestion:
> 
> set the clipboardData["rtf"] to the rtfText of field "statement"
> 
> set the textFont of character 1 to -1 of field "statement" to "Times New Roman"
> 
> As soon as I click on the button that had the script above the textfont in the field "statement" changed to the font Times New Roman. And, the text pasted into the blank Pages document was Lucida Grande and not Times New Roman.  Any other ideas?
> 
> Charles Szasz
> cszasz at mac.com
> 
> 
> 
> 
> _______________________________________________
> 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