AW: Different result in LC 6 to LC 8 when copying field text into Excel?
Mark Waddingham
mark at livecode.com
Wed Feb 8 15:18:35 EST 2017
They are platform-specific - the 'original' win32 ones are here:
<https://msdn.microsoft.com/en-us/library/windows/desktop/ff729168(v=vs.85).aspx>
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 use-livecode <use-livecode at lists.runrev.com> wrote:
>
> 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 crashes anymore.
> > BTW. The rawclipboarddata key is supposed to be ["CF_UNICODETEXT"]
> > and not ["CF_UNICODE"] as the docs say.
>
> I wonder if the difference in keys is because the keys of the rawClipboardData are platform-specific.
>
> After reading Mark Waddingham's note here last week on a related subject:
> http://lists.runrev.com/pipermail/use-livecode/2017-February/234491.html
>
> ...I've come to regard the fullClipboardData as my go-to first choice for manipulating Clipboard contents, resorting to rawClipboardData only when I need some platform-specific special handling I can't address with fullClipboardData.
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
>
> _______________________________________________
> 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