Skip to:
Instead of continuously increasing the $NUM value, before saving check to see if there are any previously save screenshots. If not restart the numbering from 1. If so increment using the last highest number found.
Instead of continuously increasing the $NUM value, before saving check to see if there are any previously save screenshots. If not restart the numbering from 1. If so increment using the last highest number found.