jeff101 Lv 1
It might be better to save the screenshots to
the same directory where scriptlog.default.xml
resides. This way if you have Foldit clients in
different folders on the same machine, they won't
overwrite each other's screenshots.
It might also be good to allow the integer in:
void SaveScreenshot(integer)
to be 0 to a number much larger than 9.
If the integer is 0, SaveScreenshot can pick
its own name for the output png file. This
could be a unique name based on the date and
time the image is created, a name a bit like
those used for manually saved and shared puzzle
solution *.ir_solution files.
If the integer is >0, the screenshot
gets saved to a standard filename like
screenshot00001.png.
Having SaveScreenshot like above would let
players adapt recipes like GAB and DRW to
automatically make snapshots every time
the score rises by a certain amount, and
these snapshots could be viewed like a
slideshow to follow the moves taken by
the recipe to raise the protein's score.
It would help if SaveScreenshot would work
for minimized clients as well.