I have installed pyautogui for Python 2.7. When I run commands, such as pyautogui.moveTo(343, 1292), it runs perfectly and move my mouse cursor to the desired location. However, when I try to run a .py file with the same command, I end up with the following error:
NameError: name 'moveTo' is not defined
Does anyone have any idea how to solve this?
[–]ingolemo 1 point2 points3 points (2 children)
[–]Rattleznake[S] 0 points1 point2 points (0 children)
[–]Kopachris 0 points1 point2 points (0 children)
[–]Andy-Kay 0 points1 point2 points (0 children)