I try to get the content of the clipboard and to automatically create a file out of it.
So far I've seen 2 very interesting threads but none of them are really doing what I want:
- - How to change, or/and create new keyboard shortcuts (viewtopic.php?p=51895#p51895)
- - Import clipboard / commandline parameter(viewtopic.php?f=35&t=18208&p=76531&hilit=clipaste#p76531)
My problem is if I use the command line from the first thread I get a file with a new screenshot, not the clipboard content:
- Code: Select all
{path to XnView}\XnView.exe -capture=desktop,c:\file.jpg
And if I use the command line from the second thread, XnView opens with the clipboard but the file is not saved.
- Code: Select all
{path to XnView}\XnView.exe -clipaste
I tried things like:
- Code: Select all
{path to XnView}\XnView.exe -clipaste,c:\file.jpg
In this case XnView opens, which is not what I want, without the screenshot and no file is created
or:
- Code: Select all
{path to XnView}\XnView.exe -capture=clipaste,c:\file.jpg
In theory that would do exactly what I want, but in practice it seems the option 'clipaste' is treated as 'desktop'...
Can you please help me on that?
Thx very much
