显示 Windows 剪贴板的内容

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/667179/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 06:09:15  来源:igfitidea点击:

Show contents of the Windows clipboard

windowsclipboard

提问by PsiX

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

如何在不使用粘贴操作的情况下查看 Windows 剪贴板当前包含的内容?

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)?

是否有工具可以显示剪贴板的对象及其格式(CF_BITMAP、CF_TEXT 等)和内容(例如,以简单字节为单位)?

采纳答案by sean e

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

维基百科上有一个剪贴板管理器工具列表: 剪贴板管理器

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

ClipX允许您通过按Ctrl+ Shift+查看以前剪贴板条目的日志V

回答by Sam Axe

If using .NET you can query the Clipboardobject.

如果使用 .NET,您可以查询Clipboard对象。

回答by binki

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 .clpfile which it can open and allow you to examine later.

NirSoft 提供免费的“内部剪贴板”实用程序,它允许您查看原始剪贴板内容和不同格式。它与您使用程序化 API 看到的很接近,但具有很好的 GUI。它的 GUI 包括十六进制视图。它还允许导出数据,并允许将快照保存到一个.clp文件中,它可以打开并允许您稍后检查。

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.

如果您需要在编程 API 级别查看事物以快速检查事物而无需自己编写程序,我推荐使用此工具。

回答by Chris Thornton

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

来自 Windows XP 的常规旧 Clipbrd.exe 剪贴板查看器怎么样?

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

它仍然可以在 Windows Vista 和 Windows 7、IIRC 上运行。

回答by Ajas M.M

  1. Select run from the start menu.
  2. Enter "clipbrd.exe" in it.
  1. 从开始菜单中选择运行。
  2. 在其中输入“clipbrd.exe”。

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

然后您就可以在 Windows 系统中看到剪贴板项目了。