D
D
Demigodd2018-08-31 07:39:56
C++ / C#
Demigodd, 2018-08-31 07:39:56

How to call imitation of CTRL+V keys in C++?

How to write a small .exe script that, when called, simply does Paste, that is, an imitation of the CTRL + V keys?
Or maybe this is possible through a bat script? Run a function that runs when CTRL+V is pressed.
Let's say there is a text field, in what ways in Windows 10 can I paste copied text into it? Tell me any ways, using third-party programs, etc. Select a specific text field and paste the copied value into it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-08-31
@Demigodd

This is done using keybd_event
Here are some more useful links:
https://stackoverflow.com/questions/5607849/how-to...
https://stackoverflow.com/questions/6811899/how-wo...
https:// www.codeproject.com/Articles/7305/Keyboard...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question