Jump to content

ControlSend


Delta01
 Share

Recommended Posts

Hey,

I'm trying to send the END key to a game, when I use AutoIt window info on the program, I get no control data, however I can send keys like a,b,c to the game and it works. When I try to send END it doesn't work, it doesn't send it to the game.

I tried ControlGetHandle too and used the returned value as my control ID, no luck.

Below is my code, is something wrong?

$var = WinList("[CLASS:CLIENT]")
For $i = 1 to $var[0][0] 
Next

ControlSend($var[1][1], "", 0x000203AA, "{END}")
ControlSend($var[1][1], "", "", "!" &"f")

I've tried the hex code in " " and out, I've tried with and without it.

Does anybody know?

Cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...