Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Windows clipboard

Reply
Thread Tools Display Modes

Windows clipboard

 
 
Vishal
Guest
Posts: n/a

 
      03-09-2006
Hi,

I wanted to know if the following is possible.

When an application is copying some data to the clipboard, is it
possible to hook into the clipboard so as to know the name of the source
application that is copying the data to the clipboard.

Also is it possible to get the name of the file from which the contents
have been copied to the clipboard?

Thanks in advance.

Best Regards,
Vishal
 
Reply With Quote
 
 
 
 
Vipin [MVP]
Guest
Posts: n/a

 
      03-09-2006
No, unless you track at the api level from within the application where
the clipboard operation originated.

--
Vipin Aravind
http://www.explorewindows.com


"Vishal" <> wrote in message
news:2FEC19E4-FD84-4A7B-B02C-...
> Hi,
>
> I wanted to know if the following is possible.
>
> When an application is copying some data to the clipboard, is it
> possible to hook into the clipboard so as to know the name of the source
> application that is copying the data to the clipboard.
>
> Also is it possible to get the name of the file from which the contents
> have been copied to the clipboard?
>
> Thanks in advance.
>
> Best Regards,
> Vishal



 
Reply With Quote
 
Vishal
Guest
Posts: n/a

 
      03-13-2006
Hi Vipin,

Many thanks for your reply.

So, in short I cannot write a monitor service that can check as to which
application (e.g. notepad) is copying contents to the clipboard and from
which file.

Is there any other way this can be achieved?

Thanks and Best Regards,
Vishal

"Vipin [MVP]" wrote:

> No, unless you track at the api level from within the application where
> the clipboard operation originated.
>
> --
> Vipin Aravind
> http://www.explorewindows.com
>
>
> "Vishal" <> wrote in message
> news:2FEC19E4-FD84-4A7B-B02C-...
> > Hi,
> >
> > I wanted to know if the following is possible.
> >
> > When an application is copying some data to the clipboard, is it
> > possible to hook into the clipboard so as to know the name of the source
> > application that is copying the data to the clipboard.
> >
> > Also is it possible to get the name of the file from which the contents
> > have been copied to the clipboard?
> >
> > Thanks in advance.
> >
> > Best Regards,
> > Vishal

>
>
>

 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      03-13-2006
> So, in short I cannot write a monitor service that can check as to which
> application (e.g. notepad) is copying contents to the clipboard and from
> which file.


This is impossible without hooking all apps.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation

http://www.storagecraft.com

 
Reply With Quote
 
Vishal
Guest
Posts: n/a

 
      03-14-2006
Hi Maxim,

Thanks for your reply. Can you elaborate more on this? Lets consider the
example where a file (say a.txt) is opened using the notepad editor.

Thanks,
Vishal

"Maxim S. Shatskih" wrote:

> > So, in short I cannot write a monitor service that can check as to which
> > application (e.g. notepad) is copying contents to the clipboard and from
> > which file.

>
> This is impossible without hooking all apps.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
>
> http://www.storagecraft.com
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clipboard Mirsad Windows Vista General Discussion 4 07-15-2008 10:19 PM
Can't find "Windows Clipboard" jbssrmd Windows Vista File Management 3 05-23-2008 12:57 PM
Clipboard Linda Windows Vista General Discussion 1 03-13-2008 08:00 PM
Clipboard AlanP Windows Vista General Discussion 6 02-25-2008 02:32 PM
Copy Path of a File to the Clipboard in Windows Vista n o s p a m p l e a s e Windows Vista General Discussion 1 10-10-2007 03:20 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59