Sign in to follow this  
Followers 0
zzen11

focus on a text unput field and send text

2 posts in this topic

#1 ·  Posted (edited)

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

Share this post


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

 

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