Problem pasting from Livecode to Mac Mail

Richard Burkett richard.burkett at sbcglobal.net
Tue Jan 9 13:09:51 EST 2018


Does anyone have a solution to this problem: I set the clipboard in LiveCode to the text of a field or variable that has returns after each line. When I paste that into Mac Mail, the text appears double-spaced as if it has two returns, but clearly there is just one (or a combination of CR and LF?). I’ve tried all the keys for setting the clipboard and also writing a script to delete line feeds, or CR characters, but nothing works. It’s either no returns, or what appears to be double-spaced returns. 

If I paste the text first into Text Edit, then copy it, and paste into Mac Mail it’s fine - single line spacing. What’s LiveCode adding to each line that causes Mac Mail to show the pasted text as double spaced? Is there a way to filter/remove that?

Richard Burkett
richard.burkett at sbcglobal.net






More information about the use-livecode mailing list