如何删除 Windows 10 版本 1809 剪贴板历史记录? [英] How to delete Windows 10 version 1809 Clipboard history?

查看:31
本文介绍了如何删除 Windows 10 版本 1809 剪贴板历史记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我启用

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

附注.调用 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆