THAT is a revelation!

Bob S


On Feb 2, 2017, at 24:28 , Mark Waddingham via use-livecode 
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

The difference comes about when you use 'the fullClipboardData'.

The fullClipboardData gives you access both to the engine's synthesized data
formats and the original data that was placed on the clipboard.

In this context:

 - rtfText: LiveCode's rtfText format
 - htmlText: LiveCode's htmlText format
 - styledText: LiveCode's (array-based) styledText format
 - html: Only present if the data on the clipboard is actually HTML
 - rtf: Only present if the data on the clipboard is actually RTF

This is explained in more detail in the fullClipboardData entry.

I'd generally recommend not using 'the clipboardData' for new apps, and using
'the fullClipboardData' instead. It allows you to put multiple distinct data
types on the clipboard, and does not use any 'legacy' rules to determine what
keys appear ('the clipboardData' only allows a single actual datatype, so uses
priority rules to determine which you see).

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to