Jump to content
Sign in to follow this  
Martin59

ControlSend()

Recommended Posts

Martin59

I want to send a string with numbers to a window.

ControlSend($WinTitle, "", "", $Password,0)

$password contains a string with two numbers.

But the numbers are not sent.

Why ? :D

Share this post


Link to post
Share on other sites
cppman

you don't seem to have a control for it to send to.

you code should be something like this:

ControlSend($WinTitle, "", 7, $Password,0)

(*note: 7 is not the control ID. Im just using that number as an example for a control ID).

btw, Welcome to the forums

Edited by CHRIS95219

Share this post


Link to post
Share on other sites
Martin59

No, the window is a play (Diablo II), and I can't see the Control ID with AU3INFO.exe. It is empty... :D

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  

×