formattedText to clipboard
Sarah Reichelt
sarah.reichelt at gmail.com
Sat Nov 29 14:24:05 EST 2008
On Sun, Nov 30, 2008 at 4:25 AM, Mark Swindell <mdswindell at cruzio.com> wrote:
> Via a button, how can I capture the formatted text of a field and put it
> into the clipboard so that it can then be pasted with formatting intact into
> a word processor??
Check the docs for clipboardData. You will see that you can specify
what sort of data to copy, so you can do something like:
set the clipboardData["html"] to the htmlText of fld x
or
set the clipboardData["rtf"] to the rtfText of fld x
Cheers,
Sarah
More information about the use-livecode
mailing list