Jump to content
Sign in to follow this  
firawk

help with controlID...

Recommended Posts

firawk

i cannot get controlID with "AutoIt Window Info", so i use controlsend("xx...xx", "", "", "hello", 0) ,but it can't be work, what can be instead for controlID? Using ("") is wrong?? :whistle:|

Share this post


Link to post
Share on other sites
jaenster

For what windows or program is it , Note if it is for diablo II you have a problem.


-jaenster

Share this post


Link to post
Share on other sites
firawk

Just for notepad, when i run it , the word "hello" will appear in the SciTE4AutoIt3.

Share this post


Link to post
Share on other sites
SmOke_N

Just for notepad, when i run it , the word "hello" will appear in the SciTE4AutoIt3.

Try using the window handle as the title.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
firawk

Try using the window handle as the title.

oh, sorry i am newbie ,can you give me some example code?, thank you

Share this post


Link to post
Share on other sites
SmOke_N

$Handle = 'Window I want To Interact With'
ControlSend($Handle, '', '', 'Hello')


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
MHz

There is a bug reported on using no Control ID with ControlSend here.

Edited by MHz

Share this post


Link to post
Share on other sites
firawk

oh, it is a bug , where can the 3.2.0.1(or 3.2.3 ) version be downloaded?

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  

×