XRunAndWait - Python - App close detected, Exit code=1

(1) Are you sure it never runs, or does the pyautogui click “just” not work? You can add a simple logfile to find out.

(2) Have you seen How to call python script in UIVision ? Does this file work ok?

(3) Why are you using pyautogui when you have uivision? Or is this just a test? :wink: