❔ how to get the current selected text from any window just like how clipboard does it?
I want to simulate Ctrl + C without pressing Ctrl + C, basically able to read any selected text from any window be it a browser, notepad or word, most solutions I found online requires me to call SendKeys to do Ctrl + C every mouse release but some programs (such as VLC media player) performs a different action if Ctrl + C is pressed, and hell, I have no idea if text is even being selected in the first place, so currently my question is, how do I simulate clipboard copy without pressing Ctrl + C?
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
C
C#
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.