Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Background Application
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Phenomena




PostPosted: 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
Sponsor
sponsor
[Gandalf]




PostPosted: 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




PostPosted: 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
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: