PDA

View Full Version : Several Problems


hellbombil
12-24-2008, 04:05 AM
ok i got several Problems that i need help with can anyone help me

1. how do i make a loop that presses a key on the keyboard, the space bar to be exact

2. how to i make a function turn on and off with the press of a button. (the program starts pressing the space bar every 2 seconds then i press f2, but when i press f2 again it stops.

3. When i have a string in a program how do i freeze it or edit it

oracleguy
12-24-2008, 06:22 AM
Help us help you, what language are you working in? What platform is this for? Windows?

hellbombil
12-24-2008, 08:05 AM
o sorry, lol C++

oracleguy
12-24-2008, 08:54 AM
Ok, does the F2 function only have to work when the program has focus? Or does it have to work regardless of what program has the active focus?

hellbombil
12-24-2008, 09:07 PM
o yea i forgot about that completely

when a certain program has focus, any chance you might be able to tell me how to set that up also, so it only works when a certain program has its focus, btw thx for all the help so far