Try this:
on mouseUp
set the rtfText of fld 1 to the clipboardData["RTF"]
end mouseUp
Phil Davis
On 10/3/14 7:38 PM, Mark Smith wrote:
Possibly very dumb question here.
What I want to do: using code 'cut and paste' (i.e. parse) text from an RTF
document into a LC field, preserving the text formatting.
What I don't want to do: deal with all of the RTF formatting codes.
Is this doable?
If its not easily doable I can downgrade the document to TXT format and
process that (since I do know how to read and parse text files) but I will
lose the nifty formatting.
Thanks
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/RTF-or-TXT-tp4684132.html
Sent from the Revolution - User mailing list archive at Nabble.com.
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
Phil Davis
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode