Clipboaard目录自动保存 [英] Clipboaard Contents Save automataically

查看:134
本文介绍了Clipboaard目录自动保存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,当我在文件夹或文件或Word文档中的文本或其他内容上使用Ctrl + C命令时,我很少希望将剪贴板内容保存到某个文件夹中.

我想自动保存剪贴板中的内容,以便在断电时不会丢失未保存的数据,或者在使用Ctrl + X命令时不会因为断电而立即丢失数据,因为按Ctrl后我的内容会立即保存+ X或Ctrl + C命令.


我们可以通过不使用任何编程程序来做到这一点吗?我可以通过对注册表文件进行任何更改来做到这一点.
如果可能的话我们该怎么做?

在此先感谢
Ganesh

Hi Friends, I have small requirement that I want to save my clipboard contents to some folder when ever I Use the Ctrl+C Command on either a folder or a file or a text in a word document or some thing else.

I want to save the clipboard contents automatically so that When ever power is gone, I didnot lost my unsaved data or when ever I use Ctrl+X Command I didnot lost my data as power gone immediately because my contents are saved immediately after I press Ctrl+X or Ctrl+C commands.


Can We do this with out using any programming I mean Can we do by using any changes to Registry Files..

If Possible How can we do this?

Thanks in Advance
Ganesh

推荐答案

我们可以不用任何编程就可以做到这一点"
编号

编程甚至不那么容易!
您将不得不使用全局剪切和复制操作(这可能是不可能的,我从未尝试过)或全局键盘处理程序,以检测剪贴板操作何时发生.

如果您的电源可能会出现故障,那么节省进行复制和剪切操作的可能性更大,而不是
请解决这些问题,因为这会增加磁盘写操作期间掉电的可能性,这通常是最危险的时间.相反,请考虑投资UPS,以在电源出现故障时进行平滑保存并关闭.
"Can We do this with out using any programming"
No.

It isn''t even that easy to do with programming!
You would have to hook into the global Cut and Copy operations (which may not be possible, I''ve never had to try) or the global Keyboard handler to detect when a clipboard operation is happening.

If your power is that likely to fail, then saving on ever copy and cut operation is more likely to cause problems, rather than
solve them as it increases the likelyhood of the power failing during a disk write operation, which is always the most dangerous time. Instead, consider investing in a UPS to allow a smooth save and shut down when the power does fail.


这篇关于Clipboaard目录自动保存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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