Would this works for example?
#include <iostream>
#include <windows.h>
using namespace std;
int main()
{
for(;;){
int t=60;
Sleep(1000);
keybd_event(VK_ F12, 0, 0, 0);
Sleep(1000);
VK_F12, 0, KEYEVENTF_KEYUP ,
cout << "F12 pressed, Eating";...
User Profile
Collapse
-
I would like to make a program that will simulate depression of some keys in order to affect an other program of mine. To give exact information, I would like to have codes so I can make a program which will:
Use F1 every 2 minute.
Use F2 every 4 minute.
Use left arrow once and right arrow once every 10min.
Hope you understand me better.Leave a comment:
-
Program that press a key every X time (HELP)
I've some real problems finding info or creating a program that works like this:
Every 5 minute the program will use key F2 (for example)
Every 10 minute it will use arrow down and later arrow up.
Any ideas, examples or guides on how the code should look like?
Hope someone is able to solve this!
(starfox-one@hotmail.com )
No activity results to display
Show More
Leave a comment: