Re: AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Mark Waddingham via use-livecode
They are platform-specific - the 'original' win32 ones are here: It looks like Tiemo has discovered a bug in the docs! Warmest Regards, Mark. Sent from my iPhone > On 8 Feb 2017, at 16:17, Richard Gaskin via

Re: AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Richard Gaskin via use-livecode
Tiemo Hollmann wrote: > I tested a little bit more and this code works for me: > on mouseUp >lock clipboard >set the rawClipBoardData to empty >set the rawClipboardData["CF_UNICODETEXT"] to textEncode(fld 1, "UTF-16" ) >unlock clipboard > end mouseUp > > and the IDE doesn't

AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Tiemo Hollmann TB via use-livecode
Paul, I tested a little bit more and this code works for me: on mouseUp lock clipboard set the rawClipBoardData to empty set the rawClipboardData["CF_UNICODETEXT"] to textEncode(fld 1, "UTF-16" ) unlock clipboard end mouseUp and the IDE doesn't crashes anymore. BTW. The

AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Tiemo Hollmann TB via use-livecode
Hi Paul, I test your approach, but when running the code in the DIE, LiveCode crashes immediatly. When debugging the code, it doesn't crashes, but stops at setting the rawclipboarddata with an error "clipboard is not locked". This happens anyhow, if I am using "lock clipboard" or not. I'll

AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-03 Thread Tiemo Hollmann TB via use-livecode
the headquarter could confirm this interaction to Excel bug and pointed me to the workaround with "paste special as text" Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Tiemo Hollmann TB via use-livecode Gesendet: Freitag,

AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-03 Thread Tiemo Hollmann TB via use-livecode
Can anybody on Windows with LC 8 confirm this: - create a new stack - create a scrolling list field - enter three lines of text, each with one word - enter into the message box: *set the clipboarddata["text"] to fld 1* - open MS Excel (in my case Windows 10, Excel 2013) - paste - see an extra