Have you looked at the links I posted on the other thread?
Regardless of that - you may explain what you’re actually trying to do. There may be better ways of achieving what you need instead of remotley controlling another application by mimicking the behaviour of a human being. In the best case there is an API you could trigger.