Hello, I would like to pass keys to a file while its open and running like a macro program does. I know enough C to understand a function, but Im not sure were to begin, this is only my 2nd year learning C and for some reason my book doesnt answer this.
I would just like to send keys to a program like.
I have a text file open called new.txt. Im SO lazy I would like to have a program I open up and click on, this will send the keys "ctrl+s" to my program.
Is there a thread or keyword I could look up? Does anyone know?