Page 1 of 1

Improve automatic naming of saved clipboard images

Posted: Mon Apr 11, 2016 2:48 pm
by larsen
Hello,

after having pasted something from the clipboard, when you save the imge the default is to use "Clipboard-1.png" while increasing the number for any following images. Though, this only works as long as XnView is not restarted.

This could be improved so XnView checks for any existing "Clipboard-#.png" images that collide with the current increment. So, if there already are "Clipboard-1.png" and "Clipboard-2.png", XnView should automatically propose "Clipboard-3.png" as the file name.

Lars

XnView 2.35, Win 7 SP1, 64-bit

Re: Improve automatic naming of saved clipboard images

Posted: Wed Apr 12, 2017 2:12 pm
by xnview
The problem is that i don't know yet where you would like to save the clipboard

Re: Improve automatic naming of saved clipboard images

Posted: Wed Apr 12, 2017 2:22 pm
by larsen
What is the workflow in that case? Like this?
- XnView checks which path to use (remembered last path)
- Open a file dialog to let the user specify a file name and proposes "Clipboard-1.png" (for the first image to be saved in the current XnView session)

Then, before opening the file dialog, it should be possible to check for any "Clipboard-*.png" files (or whatever extension) and get the highest number of already existing files, shouldn't it?

Re: Improve automatic naming of saved clipboard images

Posted: Sat Apr 15, 2017 10:48 am
by xnview
larsen wrote:What is the workflow in that case? Like this?
- XnView checks which path to use (remembered last path)
- Open a file dialog to let the user specify a file name and proposes "Clipboard-1.png" (for the first image to be saved in the current XnView session)

Then, before opening the file dialog, it should be possible to check for any "Clipboard-*.png" files (or whatever extension) and get the highest number of already existing files, shouldn't it?
In this case the behavior will be for all images not yet saved?

Re: Improve automatic naming of saved clipboard images

Posted: Sat Apr 15, 2017 4:26 pm
by larsen
Umm, yes?