watsonle Posted July 15, 2011 Posted July 15, 2011 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.
monoscout999 Posted July 15, 2011 Posted July 15, 2011 maybe you can get the focus first, select all with SHIFT + END and do the controlsend then
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now