SendKeys alternate [REQUEST]
Hello, i'm very new to the VBForums and programming in VisualBasic itself. I am currently using Visual Basic 5.
What my problem is... when I try and use the SendKeys to another app it doesn't work. [I've searched the forums but I don't understand the SendMessage or PostMessage etc.]
So could someone please explain to me how to substituite the SendKeys to a more usefull command in VB.
Here is my current code -
Code:
VB Code:
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
AppActivate "Halo"
SendKeys "tHello"
SendKeys "{Enter}"
End Sub
Note: The t at the start of the first SendKeys is so that the dialogue tab opens up so you can talk. I'm sure that is the problem to the SendKeys because it has nowhere to type it in.
Thanks in advance. :thumb:
Re: SendKeys alternate [REQUEST]
Re: SendKeys alternate [REQUEST]
Exactly what would you type in the Halo window? tHello? {Tab}Hello? Something else? "t" is just the unshifted "t" key.
Re: SendKeys alternate [REQUEST]
Yes just that. Or even some movement commands for the game like {Up}