How to interact with zenity window and type some text inside it?

Advertisements I have python code : import subprocess subprocess.call([‘sh’, ‘./zenity.sh’]) and zenity.sh file which is #!/usr/bin/python zenity –forms –title="Question" \ –add-entry="Question" \ Running it opens window with field to type some text. I want to type some text inside this zenity window using for e.g. xdotool I tried to use subprocess.call(["xdotool", "type", "some text"]) not… Read More How to interact with zenity window and type some text inside it?