Click here to Skip to main content
11,709,536 members (50,005 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: clipboard
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 8-May-12 21:13pm
Ganeshcse2.4K

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

"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.
  Permalink  
Comments
Ganeshcse at 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 at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 525
1 OriginalGriff 250
2 Peter Leow 219
3 Maciej Los 185
4 Mika Wendelius 160
0 OriginalGriff 9,428
1 Sergey Alexandrovich Kryukov 9,037
2 CPallini 5,189
3 Maciej Los 4,991
4 Mika Wendelius 3,856


Advertise | Privacy | Mobile
Web03 | 2.8.150819.1 | Last Updated 9 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100