RTF vs HTML
Vikram Singh
vikramsingh at mailandnews.com
Mon Jan 6 06:50:01 EST 2003
Dan,
I was talking about the latest edition of Metacard (2.5, Beta),
which I hope shall power Rev 2.0. Please see below an extract from
the docs:
<snip>
The clipboardData property can be used to get or set the data on
the clipboard directly without having to use cut/copy/paste. To set
data of a particular type, use an array format:
set the clipboardData["text"] to "some text"
<snip>
Both Drag-drop and Clipboard interactivity are included and shall
hopefully help us interact with other apps and the desktop/folders
better.
Regards
Vikram
>===== Original Message From Dan Friedman <dan at clearvisiontech.com> =====
>Vikram,
>
>In the following you mentioned clipboarddata["rtf"]. I don't see any thing
>about "clipboarddata" in the docs. What is this? What does it do? Where
>can I get details on what it is?
>
>Thanks!
>Dan
>
>
>> I can't talk of the benefits of exporting rtf as files, but if you are
>> copy-pasting from other apps this may interest you:
>>
>> Copy a portion of a webpage. In the message box type:
>> set the rtftext of fld 1 to clipboarddata["rtf"]
>>
>> And viceversa, paste into Word after copying the rtftext of a field:
>> set the clipboarddata["rtf"] to the rtftext of fld 1
>>
>> etc..
>>
>> Rgds,
>> Vikram
>
More information about the use-livecode
mailing list