Saturday, 28 September 2013

Launch a game and send keystrokes [on hold]

Launch a game and send keystrokes [on hold]

pHere's a pic so you can see what I am trying to achieve:/p pimg
src=http://i.stack.imgur.com/l4FXY.jpg alt=Example screenshot/p pI have
got the bottom button opening my website upon a click, which was simple
enough, but I am stuck on making the other 6 buttons start Call of Duty 4,
wait 10 seconds, and type code`/code to open the in-game console, followed
by the IP and port of the named server on the button and enter pressed at
the end to issue the command to connect to the server./p pSo far, just
experimenting from YouTube videos I have watched, I have tried this, for
example: /p precodeProcess.Start(C:\Program Files (x86)\Activision\Call of
Duty 4 - Modern Warfare\iw3mp.exe) /code/pre pand /p
precodeShell(C:\Program Files (x86)\Activision\Call of Duty 4 - Modern
Warfare\iw3mp.exe) /code/pre pBoth of these commands I have tried resulted
in the following error when testing it in debug mode, and I can't seem to
work out what I need to do to achieve the above./p pimg
src=http://i.stack.imgur.com/DrkTc.jpg alt=Error screenshot/p

No comments:

Post a Comment