Python image recognition with pyautogui
Question: When I try to recognize an image with `pyautogui` it just says: `None`

    
    
    import pyautogui
    s = pyautogui.locateOnScreen('Dark.png')
    print s
    

When I ran this code the picture was on my screen but it still failed.


Answer: On my system, I get this if the picture is on a second monitor. If I move it
to the main screen, the image is located successfully.

It looks like multiple-monitor functionality is not yet implemented: From
<http://pyautogui.readthedocs.org/en/latest/roadmap.html>

> Future features planned (specific versions not planned yet):
>
>   * Find a list of all windows and their captions.
>   * Click coordinates relative to a window, instead of the entire screen.
>   * Make it easier to work on systems with multiple monitors.
>   * ...
>

