How to create a file with the clipboard content in command ?
Posted: Thu Mar 11, 2010 11:57 am
Hello,
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:
And if I use the command line from the second thread, XnView opens with the clipboard but the file is not saved.
I tried things like:
In this case XnView opens, which is not what I want, without the screenshot and no file is created
or:
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
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 (http://newsgroup.xnview.com/viewtopic.p ... 895#p51895)
- - Import clipboard / commandline parameter(http://newsgroup.xnview.com/viewtopic.p ... ste#p76531)
Code: Select all
{path to XnView}\XnView.exe -capture=desktop,c:\file.jpg
Code: Select all
{path to XnView}\XnView.exe -clipaste
Code: Select all
{path to XnView}\XnView.exe -clipaste,c:\file.jpg
or:
Code: Select all
{path to XnView}\XnView.exe -capture=clipaste,c:\file.jpg
Can you please help me on that?
Thx very much