Jump to content

ControlSend


Recommended Posts

While trying to automate an application install when using the Controlsend command to enter data into a Class:Edit field the data is getting appended to the front of the existing data. I expected the data to overwrite the existing data.

When I look into the registry or Control Viewer after running the commands it also shows that the new data has been inserted to the left of the old data. If I run the script a second time then again the data is inserted to the left of the pre-existing data.

Does anyone know how to use ControlSend to overwrite the existing data?

The following command is working, just that it does not overwrite the pre-existing data. I guess I could edit the registry directly but would rather use this command.

ControlSend($titlePresenTense, "","[CLASS:Edit; INSTANCE:2]", "172.254.2.250")

Thanks for any suggestions.

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