覆盖 Windows 操作系统下的复制粘贴功能?
我很确定这是一项非常艰巨的任务。有谁知道我们如何覆盖 Windows 操作系统下的复制粘贴功能?
(覆盖整个环境...修补 Windows 操作系统本身。)
例如:复制后修剪复制的文本。
谢谢。
I'm pretty sure that's a very difficult task. Did anyone out there know how we can overrides the copy-paste capability under Windows OS?
(Overriding for the complete environment... patching the Windows OS itself.)
Ex : Trim the copied text after copying it.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
考虑到 Windows 始终提供直接挂钩剪贴板事件并根据您的意愿覆盖它们的功能,您实际上不太可能需要修补操作系统本身。请参阅如何获取剪贴板粘贴通知并提供我自己的数据?。
It is highly unlikely that you actually need to patch the OS itself, considering that Windows always provides the ability to hook on the clipboard events directly and override them however you wish. See How to get a clipboard paste notification and provide my own data? .
是的,但您尚未指定语言。以下是在 VB.NET 中的操作方式(将其放入
Timer
的Tick
处理程序中):Yes, but you haven't specified the language. Here's how you might in VB.NET (put this in a
Timer
'sTick
handler):