9 Replies Latest reply on Mar 4, 2016 7:11 AM by c.pfaffenbichler

    Script: Saving pictures with next number name of pictures in folder

    andreha2016

      Hello,

      i have a folder with pictures numbered with 1,2,3,4,5 ....

       

      Now i need a java script witch looks in this folder and read the highest number of the filenames and save the current opend picture with this number in the folder.

       

      Example:

      exisiting pictures: 1.jpg, 2.jpg, 3.jpg

      new / current opend picture will be saved as 4.jpg

       

      Thanks for help!

      Andre