Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow overwriting existing files #661

@7chervet

Description

@7chervet

Describe the bug
the file patern of save file doesn't contain any parameter. I just enter a fixed name in order to always save the screenshot with the same name.
When I take a second screenshot, the filename is incremented with a suffix "(2)" and so one !!!

To Reproduce
Steps to reproduce the behavior:

  1. start ksnip
  2. set up the auto save file and folder without any parameter as for instance c:/.../temp/image.jpg
  3. take a screenshot. The file image.jpg is created
  4. take a new screenshot. A new file is created image(2).jpg instead of rewriting file image.jpg

Expected behavior
As there is no specific pattern in the filename, the expected behavior is to rewrite the file for each screenshot taken

Reason : I have a word, powerpoint and outlook macro which inserts the image file in the document or email quite easily...

Desktop (please complete the following information):

  • OS: W10 build 2009 (19042.985)
  • Distribution in case of Linux [e.g. Ubuntu]
  • Window System in case of Linux [e.g. X11]
  • ksnip version 1.9.0
  • How did you install ksnip [e.g. AppImage] : from zipfile "ksnip-1.9.0-windows.zip" downloaded from internet (of course)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions