commandline parameter for screenshots not working
Posted: Fri Aug 30, 2024 9:26 am
Hello,
I´ve changed from xn classic to xn mp because it should be more modern...
Trying to create screenshots to work with a keyboard-shortcut and without starting xn mp first.
This has worked with xn classic perfectly but I can´t get it to work with mp.
If I look at about dialog/command, it seems there is a command prompt for capture.
How can I get it to work?
To mak it short: only a shot from the desktop with numbering (_01_) has worked. I can´t I make a shot from an active window and with correct naming (example screenshot_01_date.png)
I´ve tried making alias on windows dektop, rightclick/settings and paste command line parameter as in xn classic:
"C:\Program Files (x86)\XnView\xnview.exe" -capture=window,C:\Users\XXX\Pictures\Screenshots\screenshot_##_$.ext -> works only in xn classic
of course changed the path to:
"C:\Program Files\XnViewMP\xnviewmp.exe" -capture=window,C:\Users\XXX\Pictures\Screenshots\screenshot_##_$.ext -> nothing happens
also tried
"C:\Program Files\XnViewMP\xnviewmp.exe" -capture=fullscreen -fileoutput=C:\screenshot.jpg (to keep it simple) -> nothing happens
"C:\Program Files\XnViewMP\xnviewmp.exe" -capture=desktop,<output_filename> -> opens shotly xn-mp but no screenshot saved anywhere
"C:\Program Files\XnViewMP\xnviewmp.exe" -capture=desktop,<C:\Users\XXX\Pictures\Screenshots\screenshot_##_$.ext> -> same here
"C:\Program Files\XnViewMP\xnviewmp.exe" -capture=desktop,C:\Users\XXX\Pictures\Screenshots\screenshot_##_$.png -> yeah works but naming without the current date and only from desktop - no option for capturing a window??
I´ve changed from xn classic to xn mp because it should be more modern...
Trying to create screenshots to work with a keyboard-shortcut and without starting xn mp first.
This has worked with xn classic perfectly but I can´t get it to work with mp.
If I look at about dialog/command, it seems there is a command prompt for capture.
How can I get it to work?
To mak it short: only a shot from the desktop with numbering (_01_) has worked. I can´t I make a shot from an active window and with correct naming (example screenshot_01_date.png)
I´ve tried making alias on windows dektop, rightclick/settings and paste command line parameter as in xn classic:
"C:\Program Files (x86)\XnView\xnview.exe" -capture=window,C:\Users\XXX\Pictures\Screenshots\screenshot_##_$.ext -> works only in xn classic
of course changed the path to:
"C:\Program Files\XnViewMP\xnviewmp.exe" -capture=window,C:\Users\XXX\Pictures\Screenshots\screenshot_##_$.ext -> nothing happens
also tried
"C:\Program Files\XnViewMP\xnviewmp.exe" -capture=fullscreen -fileoutput=C:\screenshot.jpg (to keep it simple) -> nothing happens
"C:\Program Files\XnViewMP\xnviewmp.exe" -capture=desktop,<output_filename> -> opens shotly xn-mp but no screenshot saved anywhere
"C:\Program Files\XnViewMP\xnviewmp.exe" -capture=desktop,<C:\Users\XXX\Pictures\Screenshots\screenshot_##_$.ext> -> same here
"C:\Program Files\XnViewMP\xnviewmp.exe" -capture=desktop,C:\Users\XXX\Pictures\Screenshots\screenshot_##_$.png -> yeah works but naming without the current date and only from desktop - no option for capturing a window??