@Bob. After your answer I read Charles' question again. Probably he asks for the other way: how to match the styled text of the 'paste-target' *in LC*?
@Charles. If this is correct, then you could try to insert the clipboardData["text"] or use menu Edit > Paste Unformatted. This has no style and thus inherits the style of the current paste-location (that may be also inherited). If you use or need *Unicode* for pasting you could use a plain-text-key of the rawClipboardData. This requires LC 8 or later and is dependent of the current OS (see dictionary entry to rawClipboardData). _______________________________________________ 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