Jump to content
Sign in to follow this  
Delta01

ControlSend

Recommended Posts

Delta01

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

Share this post


Link to post
Share on other sites
blademonkey

have u tried just using send() ?


---"Educate the Mind, Make Savage the Body" -Mao Tse Tung

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.