Background Application
Author |
Message |
Phenomena
|
Posted: Thu Oct 26, 2006 6:18 pm Post subject: Background Application |
|
|
I was working on a program to help run a server in a game. I have most of it working pretty well, but I cant get my app in turing to simulate the enter key being pressed for an application running in the background. So what i need to do exactly is every 903 seconds, i need the enter key to pressed to restart the game server. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
[Gandalf]

|
Posted: Thu Oct 26, 2006 7:04 pm Post subject: (No subject) |
|
|
Not doably possible with Turing. At best, run a program made in another language to do this using Sys.Exec(). |
|
|
|
|
 |
Tony

|
Posted: Thu Oct 26, 2006 8:14 pm Post subject: (No subject) |
|
|
you need to send info to keyboard's buffer (OS). VB's SendKey() is the absolute simplest way, though I don't think it matters since a background program is not going to be reading any keyboard input |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
 |
|
|