Jump to content

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


 Share

Recommended Posts

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.

Link to comment
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.

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...