0
How to code a program something like Button Recorder ?
Hi I wish you have a good day, Actually It's not like button recorder exactly. I just want to know how can I make pressed a button in the code. ( If I couldnt express my problem please tell me so I can try to explain that better. )
3 odpowiedzi
+ 2
It's possible... But it would probably require hooking the keyboard or something trough WinAPI which I know nothing about.
Look into AutoHotKey language/program. It's not C++ but does what you want and is easy to learn.
0
Yes, you were unclear.
If I guessed correctly, you want to create a GUI... I can only tell you doing GUIs in C++ is painful. QT is the only bearable library, you could start there.
0
I meant, For example I'm going to tell the program that press that button while coding and,
for example:
//headers
int main(){
Press_A();
Press_Escape();
}
and after run this program A and escape button will be pressed automatically I mean is there a way to do that.