I want to have a button which could make this :
Copy a selection that I have made
Make a new JPG file from this selection
Save this selection with that Name : 'OriginalName'_'increment'.jpg
Close the new file (I should be back to the original)
The problem is that I want to automate the name of the new files I make with an number so that at the end I would have for instance :
Any idea how I could do ?