Loading Eyesy screen captures

I’ve successfully loaded the last screen capture back in to a simple test sketch for further mangling.

Is the last image the only one we can access?

Documentation:

  • etc.lastgrab - A Pygame surface that contains an image of the last taken screenshot taken (via the Screenshot button). This surface has dimensions of 1280 by 720, matching the full size of the screenshot.

Or can we access all/any of the captures when there are multiples? Would seem to be possible if you could assign an index to them, but I am not sure what folder the captures live in. That piece of info is missing from the documentation.

I think this might answer your question, I found it in the manual:

The following is an example directory listing of Home . You can see four modes here, each with a required main.py file, as well as the Grabs folder and a Scenes.csv file.

Grabs/
    0.jpg
    1.jpg
    2.jpg
Modes/Python
    S - Circle Scope Connected/
        main.py
    S - Feynman/
        main.py
        main.pyc
    T - Density Cloud/
        main.py
        main.pyc
    T - Spanish Flash Cards/
        font.ttf
        main.py
        main.pyc
        spanish.py
System/
      ap.txt
      wpa_supplicant.conf
Scenes.csv

Thanks. Grabbing them now should be easy… but then have to work out the best way to scroll through them once they are loaded… and how to handle the fact that they will differ in quantity. Grab 1-x and then loop around.

Good project for a fresh pot of coffee or tea!