Files
2019-01-20 00:55:05 +01:00

8 lines
200 B
Python

import pyautogui
import os
os.chdir("/Users/olivierpartensky/Desktop/")
#a=pyautogui.locateOnScreen('looksLikeThis.png')
a=pyautogui.locateCenterOnScreen('looksLikeThis.png',grayscale=True)
print(a)