Hola,, Viendo una perspectiva de lo que solicitas y si lo que realmente necesitas es ..:::: Automatizar acciones sobre una pantalla ::::.. existen herramientas que te lo permiten hacer a modo de Script.. mira esta:
https://www.autoitscript.com/site/autoit-tools/
La descripción del fabricantes es:
AutoIt Tools are a suite of tools intended to help out in the follow areas:
Build scripting and configuration
Login scripts
General IT administration
While AutoIt can be used to achieve these goals, many IT administrators are reluctant to install and learn a full scripting language when they only require a specific function. To this end AutoIt Tools will consist of small and self-contained executables that can be used for a specific purpose. All executables will also be digitally signed so that you can be sure that they have not been tampered with.
Espero sirva para lo que estas buscando .