How can I get my program to Click a certain button on another program or window?



ALSO I need help with this..

lets say text1.text = "Hello Person"
How can i change it?
For Example.

when the program is running i want to be able to add a symbol like - in it so text1.text will = "Hello-Person"

I know the user can easily add anything to it but how would the program?

see what i mean?