Paste clipboard data

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
zp523444
Junior Member
Junior Member
Posts: 27
Joined: 2003-07-11, 08:57 UTC

Paste clipboard data

Post by *zp523444 »

Is it possible, when pressing ctrl-v to paste the print screen data in a jpg file?
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

1) Install the IrfanView application (it is freeware, and TC has some special features to work with it);
2) Put this:

Code: Select all

TOTALCMD#BAR#DATA
c:\path\to\Irfan\i_view32.exe
/clippaste
c:\path\to\Irfan\i_view32.exe
Open + Paste

-1
-1
to the clipboard;
3) Paste it on a free space of a buttonbar;
4) Correct button to suit your real path;
5) Press it and enjoy.
(You can even create the corresponding user command and assign it to the Ctrl+V shortcut, but you shouldn't).
Single user license #329241
PowerPro scripts for Total Commander
User avatar
HolgerK
Power Member
Power Member
Posts: 5411
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Or use NirSoft::Nircmd

Command: nircmd.exe
Parameters: clipboard saveimage "%P"new.jpg

Regards
Holger
User avatar
theosdikaios
Senior Member
Senior Member
Posts: 228
Joined: 2006-02-04, 13:02 UTC

Post by *theosdikaios »

Or use one of the fs plugin clipboard managers e.g. decClipboardFS. :)
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
User avatar
tom*de
Senior Member
Senior Member
Posts: 394
Joined: 2003-02-25, 09:21 UTC

Wie trotz # im Pfad speichern?

Post by *tom*de »

I tryed it with irfanview:

Code: Select all

button10=shell32.dll,189
cmd10=%COMMANDER_PATH%\..\Foto\IrfanView\i_view32.exe
param10=/clippaste /convert=%P_clipboard_$U(%%Y%%m%%d_%%H%%M%%S).jpg
menu10=Zwischenablage exportieren (als JPG ins aktuelle Verzeichnis)
and xnview:

Code: Select all

button15=shell32.dll,189
cmd15=%COMMANDER_PATH%\..\Foto\XnView\NConvert.exe
param15=-clipboard -q 100 -out jpeg -o "%P_clipboard.jpg"
menu15=Zwischenablage mit nconvert als JPG ins aktuelle Verzeichnis
works fine, but if the path (%P) contains a "#" both programs will replace "#" by "1" and can't save to this path.

Any idea how to prevent this behavior?
Tom - #81178 - 5 User licence - Klugheit, Gerechtigkeit, Tapferkeit und Mäßigung plus Kooperation.
User avatar
HolgerK
Power Member
Power Member
Posts: 5411
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

User avatar
tom*de
Senior Member
Senior Member
Posts: 394
Joined: 2003-02-25, 09:21 UTC

Post by *tom*de »

Thank you.
Tom - #81178 - 5 User licence - Klugheit, Gerechtigkeit, Tapferkeit und Mäßigung plus Kooperation.
Post Reply