如何删除 Windows 10 版本 1809 剪贴板历史记录?

编程入门 行业动态 更新时间:2024-10-25 12:27:25
本文介绍了如何删除 Windows 10 版本 1809 剪贴板历史记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

如果我启用

如何以编程方式删除所有这些项目?

附注.调用 EmptyClipboard 似乎没有影响.

解决方案

我试过了 C. 这是代码......

#include #include #include int main(){无符号整数 x = 时钟();printf("清除....");而 (x <= 40000){x = 时钟();打开剪贴板(0);空剪贴板();关闭剪贴板();}}

它运行 40 秒然后自动停止,然后所有剪贴板历史记录将被删除.

If I enable Clipboard History on Windows 10 version 1809, it will then start collecting all copied items so they can be available via WinKey+V shortcut:

How can I delete all those items programmatically?

PS. Calling EmptyClipboard doesn't seem to affect it.

解决方案

I tried it C. Here is the code......

#include <stdio.h>
#include <time.h>
#include <windows.h>
int main(){
unsigned int x = clock();
printf("clearing....");
while (x <= 40000){
x = clock();
OpenClipboard(0);
EmptyClipboard();
CloseClipboard();
    }
}

It runs for 40 sec and then stop automatically then all the clipboard history will delete.

这篇关于如何删除 Windows 10 版本 1809 剪贴板历史记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-26 01:07:47,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1126872.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:剪贴板   历史记录   版本   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!