Controlling the Mac OSX GUI via Python?

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Fri Jul 1 23:16:19 EDT 2016


On Friday, July 1, 2016 at 4:59:11 PM UTC+12, Christian Gollwitzer wrote:
> Yes, simulating mouse clicks with 
> fixed coordinates etc. is prone to such failure, but there are better 
> methods. These mouse clicks and keyboard events usually trigger a method 
> call inside the GUI program. If there are any means to call that method 
> directly, you are independent from the graphics itself.

Even if you could get it working reliably, scripting a GUI is going to be slow.

GUIs are only designed to work at human speeds, after all.



More information about the Python-list mailing list