Complete List of Command Line Options?

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, xnview

Post Reply
User avatar
Farbauti
Posts: 10
Joined: Tue Aug 24, 2010 8:30 am
Location: Munich, Germany

Complete List of Command Line Options?

Post by Farbauti » Wed Apr 17, 2013 6:45 am

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.

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Complete List of Command Line Options?

Post by oops66 » Wed Apr 17, 2013 10:58 am

+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)
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

User avatar
helmut
Posts: 8176
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Complete List of Command Line Options?

Post by helmut » Wed Apr 17, 2013 8:22 pm

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.

User avatar
Farbauti
Posts: 10
Joined: Tue Aug 24, 2010 8:30 am
Location: Munich, Germany

Re: Complete List of Command Line Options?

Post by Farbauti » Thu Apr 18, 2013 7:59 am

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.

User avatar
Farbauti
Posts: 10
Joined: Tue Aug 24, 2010 8:30 am
Location: Munich, Germany

Re: Complete List of Command Line Options?

Post by Farbauti » Wed Apr 30, 2014 7:16 am

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

:-(

User avatar
xnview
Author of XnView
Posts: 32471
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Complete List of Command Line Options?

Post by xnview » Wed Apr 30, 2014 9:22 am

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)
Pierre.

User avatar
Farbauti
Posts: 10
Joined: Tue Aug 24, 2010 8:30 am
Location: Munich, Germany

Re: Complete List of Command Line Options?

Post by Farbauti » Sun May 18, 2014 9:30 am

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.

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Complete List of Command Line Options?

Post by oops66 » Sun May 18, 2014 11:10 am

... FI: Now you can (even with MP_0.66)... ;-)

http://newsgroup.xnview.com/viewtopic.p ... 82#p119382
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

User avatar
Farbauti
Posts: 10
Joined: Tue Aug 24, 2010 8:30 am
Location: Munich, Germany

Re: Complete List of Command Line Options?

Post by Farbauti » Sun May 18, 2014 5:41 pm

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.

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Complete List of Command Line Options?

Post by oops66 » Sun May 18, 2014 7:08 pm

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
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

Post Reply