I'm trying to copy selected text from any program(chrome, adobe reader, iexplorer, notepad, word etc.) using c#.
I have read the tutorial on how to use Microsoft UI Automation ( AutomationElement' class) but it doesn't work on any program.
I truly believe using GenerateConsoleCtrlEvent' method for generating Ctrl+C signal could work, but i could not find any example of code of using that method.
Any help will be blessed!