Auto clicker keyboard C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Auto clicker keyboard C++

Which function give me acces to my keyboard to let him press any key ? I found the function for the mouse : mouse_event(MOUSEEVENTF_LEFTDOWN,x,y,0,0); This is auto clieker mouse function I need a function for the keyboard can you help me ? Thanks you .

19th Jun 2019, 3:40 PM
Jihad AL AKL
Jihad AL AKL - avatar
2 Answers
+ 1
Can you explain more? What do you mean by "him" i think i could help you.
20th Jun 2019, 8:19 AM
Syss
Syss - avatar
0
I need a function to let me get acces to my keyboard so I let my program get acces and let him write on other files. I don't mean ofstream (I know how to use it) So when I run my program, he will auto open note pade on screen (I know witch function to use) and them let him write sentences I told him about in the code. Thanks for your help Syss I know it's a little confusing.
20th Jun 2019, 8:45 AM
Jihad AL AKL
Jihad AL AKL - avatar