Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

"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.
 
Share this answer
 
Comments
Ganesh KP 10-May-12 3:29am    
I mean Can we Save automatically as soon as we press Ctrl+X to some folder then the contents are back up. So even if the power is gone, data is not lost as we have them a back up aside.

Can we do this by using registry settings.
OriginalGriff 10-May-12 3:48am    
No.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900