I think it's better to use a controlled filename iso the DTO variable, although i liked the elegance of this setup.
I'll have to make a slight adjustment to my filenaming.

yyyymmdd_hhmm_####_anything you like.extension.

Can handle 9999 images within the same minute, should be enough.
_________________________
Regards - Ben

bawfotos.wtrs.nl