Show contents of the Windows clipboard

2020-07-01 06:53发布

问题:

How can I see what the Windows clipboard currently contains without using the paste operation?

I don't want the "pasted-to" application to perform any actions on the clipboard (for example, formatting text and converting).

Is there a tool which shows the clipboard's objects and their format (CF_BITMAP, CF_TEXT, etc.) and content (in simple bytes for example)?

回答1:

There is a list of clipboard manager tools at Wikipedia: Clipboard manager

ClipX allows you to view a log of previous clipboard entries by pressing Ctrl + Shift + V.



回答2:

If using .NET you can query the Clipboard object.



回答3:

NirSoft offers a free “Inside Clipboard” utility which allows you to see the raw clipboard contents and different formats. It’s close to what you would see with a programmatic API but with a nice GUI. Its GUI includes hex view. It also allows data to be exported and allows saving a snapshot to a .clp file which it can open and allow you to examine later.

If you need to see things at the level of the programmatic API to quick check things without writing a program yourself, I recommend this tool.



回答4:

How about the regular old Clipbrd.exe clipboard viewer from Windows XP?

That'll still run on Windows Vista and Windows 7, IIRC.



回答5:

  1. Select run from the start menu.
  2. Enter "clipbrd.exe" in it.

Then you can see the clipboard items in the Windows systems.