Sign in to follow this  
Followers 0
svetlanaN

How to send the string to edit window in autoit3 script?

2 posts in this topic

Hello!

I am new user of autoit.

I need to enter the string into edit window of some program.I tried the following options but nothing work!

Nothing is printed in edit !!

ControlFocus("WindiwTitle","",controlId)

ControlSend ("WindiwTitle","",editControlId,"MyStringToEnterIntoEditWindow")

Please help me!!!

Also i need to select one item in listbox

I tried

WinActive(("WindiwTitle")

ControlFocus("WindiwTitle","","ListBox1")

ControlCommand("WindiwTitle","","ListBox1",SelectString",'TR1')

this not works!!!

Which commands I can use??????

Thanks in advance.

Share this post


Link to post
Share on other sites



when you use the AutoIt Window Info tool, what does it come back with?

cut and paste the info from the tool, and we should be able to fix you right up.

Some controls you can't send stuff to in the normal way, so you may need to tweak it to get it to work.

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  
Followers 0