Page 1 of 1

From a certain Windows source clipboard doesn't work

Posted: 15. Apr 2018, 22:07
by maker675
Windows10 guest on OSX host.

Generally Clipboard transfers Windows->OSX work fine (and have always done so).

Have just started using a piece of software ( TMCL-IDE 3.0) from which I can copy fragments of text to the Windows Clipboard and then paste them again within Windows. However if I try to paste them in OSX there is nothing there. Yet clipboard transfer is working fine and have confirmed by then copying something from a different source in Windows to paste in OSX.

How can this be?

(Incidentally can copy/paste from OSX into TMCL-IDE 3.0 on the Windows guest.)

Re: From a certain Windows source clipboard doesn't work

Posted: 16. Apr 2018, 08:54
by mpack
Most likely whatever the app puts on the clipboard isn't text. E.g. it's rich text and whatever you're pasting into can't handle it. Or, it's just a stub to begin a COM protocol transaction. The latter has been a problem with Excel.

Re: From a certain Windows source clipboard doesn't work

Posted: 16. Apr 2018, 09:06
by socratis
Just as mpack said, the clipboard contents are not simply unicode text.
Workaround: Copy from TMCL-IDE 3.0, paste into Notepad, copy from Notepad, paste in OSX.

Re: From a certain Windows source clipboard doesn't work

Posted: 16. Apr 2018, 09:49
by maker675
OK. So a known thing.

Passing via Notepad works great.

Thanks!

Re: From a certain Windows source clipboard doesn't work

Posted: 16. Apr 2018, 09:53
by socratis
If you want to see what your program puts in the clipboard, try the FreeClipViewer (I'd go with the "portable version"). Great little tool...

Re: From a certain Windows source clipboard doesn't work

Posted: 17. Apr 2018, 08:57
by maker675
Here's an example clipboard file made using FreeClipviewer, @socratis.

In the Preview section it looks like what I copied. Not sure how to interpret what's in the other sections?

Either way, doesn't paste into OSX.

Re: From a certain Windows source clipboard doesn't work

Posted: 17. Apr 2018, 09:05
by socratis
I didn't say that I could interpret it either, I simply said that it's a cool little app ;)

Re: From a certain Windows source clipboard doesn't work

Posted: 17. Apr 2018, 09:13
by maker675
Haha!

Re: From a certain Windows source clipboard doesn't work

Posted: 17. Apr 2018, 09:18
by andyp73
Odd, the output from Free Clipboard Viewer seems to show both text and unicode text formats with the locale set to UK (I think).

Not sure why there is a reference to an AFX_WM_ message that according to the VS2015 docs is flagged as "Microsoft Internal Only - Do Not Use".

-Andy.

Re: From a certain Windows source clipboard doesn't work

Posted: 17. Apr 2018, 09:21
by maker675
Might have downloaded Windows 10 from UK Microsoft store (whilst in France).

(And set to UK keyboard etc,)

Copy/pasting from a German application.