Hi all,
I am trying to send commands to game server screen. The game is Blackhawk Down, with the Team Sabre expansion pack.
Right now I am just trying basic things like once the game is running, Send "t" to open the chat window. So far I cannot not get any code to work.
THis will work posting a message to a dos window, but it will not to BHDTS.
VB Code:
Dim nlgameclass As Long nlgameclass = FindWindow("nlgameclass", vbNullString) Call PostMessage(nlgameclass, WM_CHAR, Asc("t"), 0&)
I am using the API Spy from Pat of JK's
Any help is greatly appreciated.
