Do Screenshot and open Xnview

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

Timur
Posts: 8
Joined: Thu Jul 13, 2023 2:21 pm

Do Screenshot and open Xnview

Post by Timur »

I take screenshots often, now after that I need to open Xnview to paste it.
Hiopefully there can be a parameter so that Xnvie takes screenshot and then this can be assigened to a shortcut key.
Like this: xnview -capture=screenshot.
User avatar
xnview
Author of XnView
Posts: 44761
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Do Screenshot and open Xnview

Post by xnview »

you have already a -capture parameter
Pierre.
Timur
Posts: 8
Joined: Thu Jul 13, 2023 2:21 pm

Re: Do Screenshot and open Xnview

Post by Timur »

Sorry, I do not understand.
I saw -capture for window or desktop but not for taking and importing a screenshot.
xnview-capture just opens xnview, does not take screenshot.
User avatar
xnview
Author of XnView
Posts: 44761
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Do Screenshot and open Xnview

Post by xnview »

Code: Select all

xnview -capture=desktop
should make a screenshot
Pierre.
Timur
Posts: 8
Joined: Thu Jul 13, 2023 2:21 pm

Re: Do Screenshot and open Xnview

Post by Timur »

xnview wrote: Sat Jul 15, 2023 5:44 am

Code: Select all

xnview -capture=desktop
should make a screenshot
Thank you @xnview but this does not work for me in Linux Mint 21.1 with Cinnamon, it just opens empty Xnview MP.
If XnView is already is running, command makes a screenshot but does not import into XnView.
I see that button inside Xnview is working, but that is not it: https://www.xnview.com/wiki/index.php/Capture.
It would be very useful if a single global command could start @XnView, make a screenshpt and import it into XnView.
User avatar
xnview
Author of XnView
Posts: 44761
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Do Screenshot and open Xnview

Post by xnview »

sorry but usage is

Code: Select all

xnview -capture=desktop,file.jpg
Pierre.
Timur
Posts: 8
Joined: Thu Jul 13, 2023 2:21 pm

Re: Do Screenshot and open Xnview

Post by Timur »

xnview wrote: Sun Sep 03, 2023 6:28 am sorry but usage is

Code: Select all

xnview -capture=desktop,file.jpg
Thanks but this also does not work - and I corrected , to . Xn starts but no screenshot.
Timur
Posts: 8
Joined: Thu Jul 13, 2023 2:21 pm

Re: Do Screenshot and open Xnview

Post by Timur »

I still have the same question and need: how to take screenshot and open in XnView by using some keyboard shortcut?