User Profile

Collapse

Profile Sidebar

Collapse
starfoxone
starfoxone
Last Activity: May 19 '10, 11:12 PM
Joined: May 18 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • starfoxone
    replied to Program that press a key every X time (HELP)
    in C
    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";...
    See more | Go to post

    Leave a comment:


  • starfoxone
    replied to Program that press a key every X time (HELP)
    in C
    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.
    See more | Go to post

    Leave a comment:


  • starfoxone
    started a topic Program that press a key every X time (HELP)
    in C

    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 )
    See more | Go to post
No activity results to display
Show More
Working...