Hacker News new | ask | show | jobs
by texaslonghorn5 1333 days ago
Good refresher, nice share.

I wish there was a little more transparency in the clipboard. When I press WinKey+V, Windows 10 only shows me one format but often pastes a different one (obviously) -- would be nice to have the option to allow me to look into the possible formats I can get out.

2 comments

> would be nice to have the option to allow me to look into the possible formats I can get out.

That would only confuse an average Joe so don't have high hopes.

IMMSMW there was a program what would show which formats are available for the current content, but hell if I remember how it was called and was it a regular program or just an exercise in Win32 API. Maybe it was in Raymond Chen's blog.

But if you are interested you can probably write it yourself.[0]

ADD: there is such a program on codeproject [1] but it requires a registration to download the binary, so I can't vouch for it.

[0] https://learn.microsoft.com/en-us/windows/win32/dataxchg/cli...

[1] https://www.codeproject.com/Articles/886711/Drag-Drop-Images...

Agree on confuse, the option would have to be something hidden in settings.

Anyway, I will look into links, thanks.

I know in Word and maybe other MS products you usually get an option of

* keep source formatting

* match destination formatting

* text only

None of which quite do what they say, in my experience. For actual text-only pasting, I often end up pasting into a fresh notepad, then copying that and pasting into Word. Otherwise, newlines at least sometimes get altered. Similarly "match destination formatting" often gets confused by formatting changes within the pasted text. I often end up pasting even formatted text via notepad and then recreating the formatting by hand.
Exactly, but the implementation is nontrivial/nonobvious if I'm copying from the web for example.