Using Python to manipulate the GUI's of other programs?

后端 未结 3 1878
臣服心动
臣服心动 2021-01-06 16:27

I have a program here that has an entry box and a button.

I want python to enter a string into the entry box, then press the button. What is the best way of going a

3条回答
  •  不要未来只要你来
    2021-01-06 16:48

    PyAutoGUI (installable through pip) can automate mouse/keyboard and works on Mac/Windows/Linux.

    It also has some basic screenshot image recognition capabilities like Sikuli has.

    https://pypi.python.org/pypi/PyAutoGUI

提交回复
热议问题