onScreen's docstring only mentions coordinates, but it directly uses _normalizeXYArgs. So it can also check if an image from filename is on the primary screen by passing a string as the x / first argument. Is that intended? Should I be relying on that behavior for the foreseeable future? Should the docstring be updated?
>>> from pyautogui import onScreen
>>> onScreen('C:/Users/Avasam/Desktop/autosplit test/1 {p}.png')
True
onScreen
's docstring only mentions coordinates, but it directly uses_normalizeXYArgs
. So it can also check if an image from filename is on the primary screen by passing a string as the x / first argument. Is that intended? Should I be relying on that behavior for the foreseeable future? Should the docstring be updated?