Page 1 of 1

Complete List of Command Line Options?

Posted: Wed Apr 17, 2013 6:45 am
by Farbauti
Hello there,

I like and use XnView a lot.
But I cannot find a complete list of command line options.
Unfortunately a xnview.exe -? (or -help or /? or /help) is not implemented.

One thing I want to achieve is building a shortcut that starts XnView in capture mode.
Yes, I know there is this nice post http://newsgroup.xnview.com/viewtopic.p ... 895#p51895 that handles command line capture parameters.
But I need my particular options (hotkey, target dir, file format, multiple captures), that are not mentioned there.

Hence my question...

Best regards, Farbauti.

Re: Complete List of Command Line Options?

Posted: Wed Apr 17, 2013 10:58 am
by oops66
+1 I support to support a complete list of command line options and parameters for XnView & XnViewMP.
For Windows:
xnview.exe -?[/b] (or -help or /? or /help) is not implemented.

or for Linux, mac os...
xnview --help (or man xnview)

Re: Complete List of Command Line Options?

Posted: Wed Apr 17, 2013 8:22 pm
by helmut
Is "Command line help" dialog in XnView what you are looking for? You open it using menu "Info > Command line help".

In XnView MP the command line options are planned to be listed in the "About" dialog, which you can open using "Help > About...", tab "Command line". Until now this tab is empty (not intentionally).

+1 | Even though the info might be there, I support your request of having something like a --help option for outputting command line options.

Re: Complete List of Command Line Options?

Posted: Thu Apr 18, 2013 7:59 am
by Farbauti
helmut wrote:Is "Command line help" dialog in XnView what you are looking for? You open it using menu "Info > Command line help".
Not quite. It does show the options (e.g. "-capture") but not the available parameters (e.g. "=desktop,d:\screenshot_$.ext") and their meaning.
Furthermore I'd like to have even more parameters, like I said for example: command line parameters to fully configure the capture function.

best regards, Farbauti.

Re: Complete List of Command Line Options?

Posted: Wed Apr 30, 2014 7:16 am
by Farbauti
No answer from the developers is disappointing.

I still love the tool, but I'm in need of a command line that would start xnview automatically in capture mode with
- multiple captures option
- include cursor
- dest. dir
- screenshot filenames with date-time tag

:-(

Re: Complete List of Command Line Options?

Posted: Wed Apr 30, 2014 9:22 am
by xnview
currently you can't make multiple capture, you have

Code: Select all

-capture=desktop,d:\screenshot_$.ext
to capture desktop in following filename (.ext is the extension, $ is time stamp)

Re: Complete List of Command Line Options?

Posted: Sun May 18, 2014 9:30 am
by Farbauti
xnview wrote:currently you can't make multiple capture...
So, what you really want to say is, that this feature won't be implemented at all in the future...?

Cheers, Farbauti.

Re: Complete List of Command Line Options?

Posted: Sun May 18, 2014 11:10 am
by oops66
... FI: Now you can (even with MP_0.66)... ;-)

http://newsgroup.xnview.com/viewtopic.p ... 82#p119382

Re: Complete List of Command Line Options?

Posted: Sun May 18, 2014 5:41 pm
by Farbauti
oops66 wrote:... FI: Now you can (even with MP_0.66)... ;-)
http://newsgroup.xnview.com/viewtopic.p ... 82#p119382
No, sorry, doesn't work for me.

Are you sure, we're talking about the same thing?
What I'd like to see is this:
I use XnView for making occasional screenshots. To be prepared, when I log in, I start xnview (via windows autostart along with other applications), but then I have to activate the screenshot functionality manually, as I need particular parameters (file-timestamp-format, multiple captures, include cursor, dest-dir, shortkey, ...). And sometimes I simply forget to activate this. I press the shortkey, and only later I find out, no screenshots were recorded :(
Thus I would really appreciate a funktion/opntion/parameter to automatically start XnView in (full configurable) capture mode.

Cheers, Farbauti.

Re: Complete List of Command Line Options?

Posted: Sun May 18, 2014 7:08 pm
by oops66
Hello, ... Right, this not exactly meet your request, but a workaround is to use a script ... i use for this a script file (.bat with windows or .sh via linux) with the shortcut icon available onto my panel/desktop

To do a test first, maybe you can try into a Terminal (for windows) (run cmd)

Code: Select all

xnview.exe -capture=desktop,c:\your_savedir\your_filename_###.jpg
or with date stamp:

Code: Select all

xnview.exe -capture=desktop,c:\your_savedir\your_filename_$.jpg