Answer the question
In order to leave comments, you need to log in
Interaction of the program with the system. How to do this?
I want to write a program that would interact with the system. For example, so that when you press ctrl + c, the selected text would be copied not only to the clipboard, but also to the program's own clipboard. And similar functions. Is this possible in c#?
Answer the question
In order to leave comments, you need to log in
Realizable. For this particular example, you will need to put a global hook via WinAPI ( blogs.msdn.com/b/toub/archive/2006/05/03/589423.aspx , https://gist.github.com/Stasonix/3181083 )
Hook should be used if you want this functionality to work also in a situation where the user is copying from any other program, not only yours (yours is currently running in the background).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question