Special Paste

Peter Bogdanoff bogdanoff at me.com
Thu May 28 14:28:29 EDT 2020

Hi Charles,

Is this what you’re looking for?:

put the clipboardData["html"] into tStoredData
put the fullClipboardData["text"] into tData
set the clipboardData to tData
set the clipboardData["html"] to tStoredData

Peter Bogdanoff

> On May 28, 2020, at 7:04 AM, Charles Szasz via use-livecode <use-livecode at lists.runrev.com> wrote:
> Both Apple's Pages and Microsoft’s Word software have key commands for pasting text into an existing document to match the current formatting (font). How do you script to accomplish this when copying text to the clipboard in a button so the user does not have to use keyboard commands?
> Sent from my iPad
> _______________________________________________
> 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