in reply to How to set text to text boxes?
This is yet another in a list of "how do I control a Windows PC remotely" items that you've submitted. I assume the app you're trying to mangle is only GUI based and you can't install code on the machine you're trying to control.
I am curious if this could be an XY Problem? Context revealed may net novel ideas on how to address this sticky problem.
Check the WaitWindow and SendKeys methods.
In Section
Seekers of Perl Wisdom