Reply to post

Answered[Feature Request] Custom file names

Author
qKa
User
  • Total Posts : 2
  • Scores: 0
  • Reward points: 0
  • Joined: 2015/07/03 23:24:10
  • Status: offline
2015/07/03 23:41:00 (permalink)
0

[Feature Request] Custom file names

Hello !
 
Can you improve the Quick Save options please ?
Adding a new option "filename pattern" for saving custom filenames like "Increment file name by".
Some examples:
pattern: ${capturetime:d"yyyy-MM-dd HH_mm_ss"}
output: 2015-07-04 05_30_20.png
 
pattern: ${capturetime:d"yyyy-MM-dd HH_mm_ss"}-awesome
output: 2015-07-04 05_30_20-awesome.png
 
pattern: work-${capturetime:d"yyyy-MM-dd HH_mm_ss"}
output: work-2015-07-04 05_30_20.png
 
Thank you ! :)
 
Admin
Administrator
  • Total Posts : 275
  • Scores: 6
  • Reward points: 0
  • Joined: 2010/11/22 00:00:00
  • Location: USA
  • Status: offline
Re: [Feature Request] Custom file names 2015/07/04 08:48:46 (permalink) ☼ Best Answerby qKa 2015/07/04 09:51:04
+2 (1)
Actually, HyperSnap already expands some macros in Quick Save function. When entering the file name, you could use macros:
 
%date% - current date, according to the current computer 'locale' format
%time% - current time, according to the current computer 'locale' format
%uname% - the name of the user currently logged in
%host% - the name of the current computer
 
I just tested it by entering the following format (and turning off the "auto-increment" option):
 
D:\tmp\Snap_%date%_%time%_%host%_%uname%.png
 
The program saved my capture as:
 
Snap_7-4-2015_8-47-06 AM_SOL_greg.png
 
The time format here in the USA would be 8:47:06, but colons are not valid in a file name, so the program replaced them with - dashes. SOL is my computer name, and my user name is "greg" of course.
 
Greg
qKa
User
  • Total Posts : 2
  • Scores: 0
  • Reward points: 0
  • Joined: 2015/07/03 23:24:10
  • Status: offline
Re: [Feature Request] Custom file names 2015/07/04 09:52:24 (permalink)
0
Oh, great ! Thank you very much !
Jump to:
© 2017 APG vNext Commercial Version 5.1