Click here to Skip to main content
11,922,416 members (31,170 online)
Rate this:
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
Posted 8-May-12 22:13pm

1 solution

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

Solution 1

"Can We do this with out using any programming"

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.
Ganeshcse 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

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

  Print Answers RSS
0 OriginalGriff 453
1 Dave Kreskowiak 335
2 Sergey Alexandrovich Kryukov 263
3 Richard MacCutchan 225
4 ppolymorphe 175
0 OriginalGriff 7,231
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,356
3 George Jonsson 2,865
4 Suvendu Shekhar Giri 2,216

Advertise | Privacy | Mobile
Web02 | 2.8.151120.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