lundi 20 février 2023

How to place selected text from any windows OS application. Analog ctrl+c

The program runs in the background, minimized to the tray. When you press the global hotkey, a function is called that should output selected text to the console (from any windows OS application).

I use QClipboard. I understand how to output to the console what is already in the buffer clipboard->text();, I understand how to write from my application to the clipboard clipboard->setText(); But I don't know how to write selected text from any windows OS application to the buffer Thanks

Aucun commentaire:

Enregistrer un commentaire