command line improvements
Moderators: XnTriq, helmut, xnview
-
- Posts: 39
- Joined: Mon May 17, 2010 10:16 am
command line improvements
dear xnview team
thank you so much for your application
so far i need to keep irfanview for my daily purpose, which xnview can't do
in my total commander i have a button with such a command line: "C:\Program Files\IrfanView\i_view32.exe" /clippaste /convert=%Pscreenshot.png
so when i press printscreen, all i have to do next is to press this button in total commander, and i have my screenshot in active folder saved in png format(or whatever else extention i put there in command line - it saves in the format given by extention!)
could you please implement such functionality too? you only have clippasete, but no way to save automatically this clip in desired file format.
(it would be great also if you add a small variable, like %D, so one can save screenshot with date stamp in the filename)
thanx in advance
thank you so much for your application
so far i need to keep irfanview for my daily purpose, which xnview can't do
in my total commander i have a button with such a command line: "C:\Program Files\IrfanView\i_view32.exe" /clippaste /convert=%Pscreenshot.png
so when i press printscreen, all i have to do next is to press this button in total commander, and i have my screenshot in active folder saved in png format(or whatever else extention i put there in command line - it saves in the format given by extention!)
could you please implement such functionality too? you only have clippasete, but no way to save automatically this clip in desired file format.
(it would be great also if you add a small variable, like %D, so one can save screenshot with date stamp in the filename)
thanx in advance
-
- Author of XnView
- Posts: 44297
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: command line improvements
You have NConvert for that
nconvert -clipboard -out png -o screenshot.png
nconvert -clipboard -out png -o screenshot.png
Pierre.
-
- Posts: 39
- Joined: Mon May 17, 2010 10:16 am
Re: command line improvements
is there any chance you can add date/time variable or number count?
now when i use this command line: -quiet -clipboard -out png -o %Pscreenshot#.png
its just creates the file screenshot0.png, and i cant add next screenshot automatically so it would be screenshot1.png screenshot2.png screenshot3.png and so on.
if you can add for exapmle something like "-o filename@"DD MM YYYY HH MM SS", so one can create something like:
c:\applications\XnView\nconvert.exe -quiet -clipboard -out png -o screenshot@"YYYY.MM-HH-MM".png
is it possible you implement that?
thanx in advance
now when i use this command line: -quiet -clipboard -out png -o %Pscreenshot#.png
its just creates the file screenshot0.png, and i cant add next screenshot automatically so it would be screenshot1.png screenshot2.png screenshot3.png and so on.
if you can add for exapmle something like "-o filename@"DD MM YYYY HH MM SS", so one can create something like:
c:\applications\XnView\nconvert.exe -quiet -clipboard -out png -o screenshot@"YYYY.MM-HH-MM".png
is it possible you implement that?
thanx in advance
-
- Author of XnView
- Posts: 44297
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: command line improvements
Yeslukoie wrote: c:\applications\XnView\nconvert.exe -quiet -clipboard -out png -o screenshot@"YYYY.MM-HH-MM".png
is it possible you implement that?
Pierre.
-
- Posts: 39
- Joined: Mon May 17, 2010 10:16 am
Re: command line improvements
cool
thanx
i'll be waiting for it
thanx
i'll be waiting for it
-
- Posts: 39
- Joined: Mon May 17, 2010 10:16 am
Re: command line improvements
Dear Mr. Pierre
Did you implemented date/time stamps in your latest nconvert?
Did you implemented date/time stamps in your latest nconvert?
-
- Posts: 39
- Joined: Mon May 17, 2010 10:16 am
Re: command line improvements
And could you also make sure nconvert checks if the file name already exists, and create the file with some suffix?
For example, i have a button in my TotalCommander with the arguments "-quiet -clipboard -out png -o %Pscreenshot.png"
If the same file already exist, nconvert does nothing (irfanview, by the way, simply rewrites the file without any notifications).
Would be nice if nconvert adds any suffix, like numerical value.
Thanx in advance.
For example, i have a button in my TotalCommander with the arguments "-quiet -clipboard -out png -o %Pscreenshot.png"
If the same file already exist, nconvert does nothing (irfanview, by the way, simply rewrites the file without any notifications).
Would be nice if nconvert adds any suffix, like numerical value.
Thanx in advance.
-
- Author of XnView
- Posts: 44297
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: command line improvements
You have -overwritelukoie wrote:And could you also make sure nconvert checks if the file name already exists, and create the file with some suffix?
For example, i have a button in my TotalCommander with the arguments "-quiet -clipboard -out png -o %Pscreenshot.png"
If the same file already exist, nconvert does nothing (irfanview, by the way, simply rewrites the file without any notifications).
Would be nice if nconvert adds any suffix, like numerical value.
Thanx in advance.
Pierre.
-
- Posts: 39
- Joined: Mon May 17, 2010 10:16 am
Re: command line improvements
But i dont need to overwrite! And anyway even without this argument its overwrites.
I'm making many screenshots. What i do for that is a pushing PrnScr button, and then in TotalCommander in the folder i need i click a toolbar button with the commend line described above. But if there's already a file called screenshot.png, the file will be simply overwriten, even without -overwrite argument!
What i need is a simple duplicate file checking. Like XnView do in GUI mode, and if file exist - adds any suffix.
Addind date, or any custom patern will be perfect! As i described above.
Any chance you will implement that in nconvert, please?
I'm making many screenshots. What i do for that is a pushing PrnScr button, and then in TotalCommander in the folder i need i click a toolbar button with the commend line described above. But if there's already a file called screenshot.png, the file will be simply overwriten, even without -overwrite argument!
What i need is a simple duplicate file checking. Like XnView do in GUI mode, and if file exist - adds any suffix.
Addind date, or any custom patern will be perfect! As i described above.
Any chance you will implement that in nconvert, please?
-
- Author of XnView
- Posts: 44297
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: command line improvements
Oh ok, i understand... I'll add such optionlukoie wrote:Any chance you will implement that in nconvert, please?
Pierre.
-
- Author of XnView
- Posts: 44297
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 39
- Joined: Mon May 17, 2010 10:16 am
Re: command line improvements
Thank you dear Pierre, this is it!
You made my day! Now Xnview is the only viewer stays on my pc.
Cheers
You made my day! Now Xnview is the only viewer stays on my pc.
Cheers