Jump to content

focus on a text unput field and send text


zzen11
 Share

Recommended Posts

Try to use the controlSend() to send string to a text input field (also a drop down list) of a windows program, it does not send, any tricks?

Here is the code:

ControlSend("snmpwindow", "test", 1055, $str)

The windows program has several buttons and input fields.

- Z

Edited by zzen11
Link to comment
Share on other sites

Try to use the controlSend() to send string to a text input field (also a drop down list) of a windows program, it does not send, any tricks?

Here is the code:

ControlSend("snmpwindow", "test", 1055, $str)

The windows program has several buttons and input fields.

- Z

<{POST_SNAPBACK}>

1st: should have posted in Support, probably would have had respones sooner.

2nd: might try the ClassName instead of the ControlID

Example

ConstrolSend("snmpwindow", "test", "Edit1", $str)

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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