[GH-ISSUE #848] [Feature Request] Smarter default export location & smarter filename #665

Open
opened 2026-02-26 09:32:14 +03:00 by kerem · 5 comments
Owner

Originally created by @Garfounkel on GitHub (Apr 26, 2021).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/848

  1. The editor always defaults the exported file location to the last exported folder, which makes sense when using ScreenToGif as a recorder, but I find myself often importing mp4 files directly into the editor instead. In that case, it would make more sense to default the export folder to the location of the imported mp4. This would remove the unnecessary back and forth when working on multiple projects at the same time.

  2. With the same idea in mind, the name of the output file could also be made smarter by allowing the use of the imported file as a special symbol similar to #282. Maybe %i% for input file.

For instance if I import Somefolder/my_video.mp4 into the editor, %i%.gif would output a file named my_video.gif located in Somefolder by default.

If the template name use %i% while no file was imported (for instance when using the Screen recorder directly), just give a warning that %i% will be blank in that case.

Originally created by @Garfounkel on GitHub (Apr 26, 2021). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/848 1. The editor always defaults the exported file location to the last exported folder, which makes sense when using ScreenToGif as a recorder, but I find myself often importing mp4 files directly into the editor instead. In that case, it would make more sense to default the export folder to the location of the imported mp4. This would remove the unnecessary back and forth when working on multiple projects at the same time. 2. With the same idea in mind, the name of the output file could also be made smarter by allowing the use of the imported file as a special symbol similar to #282. Maybe `%i%` for input file. For instance if I import `Somefolder/my_video.mp4` into the editor, `%i%.gif` would output a file named `my_video.gif` located in `Somefolder` by default. If the template name use `%i%` while no file was imported (for instance when using the Screen recorder directly), just give a warning that `%i%` will be blank in that case.
Author
Owner

@hced commented on GitHub (May 15, 2021):

Adding to this, I (humbly) wish there could be a date/time symbol for filenames, so you don't have to mind your saved filenames at all. filename_yyyymmddhhmmss.gif for example.

<!-- gh-comment-id:841648083 --> @hced commented on GitHub (May 15, 2021): Adding to this, I (humbly) wish there could be a _date/time_ symbol for filenames, so you don't have to mind your saved filenames at all. `filename_yyyymmddhhmmss.gif` for example.
Author
Owner

@NickeManarin commented on GitHub (May 15, 2021):

Adding to this, I (humbly) wish there could be a date/time symbol for filenames, so you don't have to mind your saved filenames at all. filename_yyyymmddhhmmss.gif for example.

This is already implemented, just type the date/time format between ??, like ?yyy-MM-dd?.gif.

<!-- gh-comment-id:841692664 --> @NickeManarin commented on GitHub (May 15, 2021): > Adding to this, I (humbly) wish there could be a _date/time_ symbol for filenames, so you don't have to mind your saved filenames at all. `filename_yyyymmddhhmmss.gif` for example. This is already implemented, just type the date/time format between ??, like `?yyy-MM-dd?.gif`.
Author
Owner

@hced commented on GitHub (May 15, 2021):

@NickeManarin You’re a god! I’m very thankful for this beautiful piece of app. Thanks, the missing piece was not even missing.

<!-- gh-comment-id:841698885 --> @hced commented on GitHub (May 15, 2021): @NickeManarin You’re a god! I’m very thankful for this beautiful piece of app. Thanks, the missing piece was not even missing.
Author
Owner

@hced commented on GitHub (May 15, 2021):

@NickeManarin Just a quick question: I'm using this format: filename_?yyyMMdd_HH_MM_ss? and every digit works except for the minutes, which would always generate a 5, like gif_20210515_21_05_17.gif, gif_20210515_21_05_04.gif, etc. Is something wrong with my format? Five minutes past nine was actually correct the first time I saved a file, but as it went past that time, the minutes would not change. Probably same for hours.

<!-- gh-comment-id:841713260 --> @hced commented on GitHub (May 15, 2021): @NickeManarin Just a quick question: I'm using this format: `filename_?yyyMMdd_HH_MM_ss?` and every digit works except for the minutes, which would always generate a `5`, like `gif_20210515_21_05_17.gif`, `gif_20210515_21_05_04.gif`, etc. Is something wrong with my format? Five minutes past nine was actually correct the first time I saved a file, but as it went past that time, the minutes would not change. Probably same for hours.
Author
Owner

@NickeManarin commented on GitHub (May 15, 2021):

MM = Month
mm = Minutes

Search for c# date/time format.

<!-- gh-comment-id:841715921 --> @NickeManarin commented on GitHub (May 15, 2021): MM = Month mm = Minutes Search for c# date/time format.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#665
No description provided.