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. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
[Gandalf]
![](http://compsci.ca/v3/uploads/user_avatars/189297994e4c716fec7f1.png)
|
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(). |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
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. |
|
|
|
![](images/spacer.gif) |
|
|