Dear all,
Perhaps a question that already has been asked but I can't find the answer in a quick way:
Is there a possibility to save the content of the clipboard to a file?
e.g.:
Select a piece of text in (whatever) and copy this to the clipboard (CTRL+C).
In another filemanager I do a paste (CTRL-V) to a folder and it creates a file for me with the content of the clipboard.
Can the same be done with TC? Now I paste the content in an editor and save it as a file. This can be done quicker.
Thanks in advance,
Greetings, Rien.
Clipboard 2 File
Moderators: white, Hacker, petermad, Stefan2
NirSoft NirCmd.exe save from Clipboard to Text Picture Image
This is not implemented into TC, "we" often utilize NirSoft's nircmd (http://www.nirsoft.net/utils/nircmd.html)
Example nircmd.exe commands:
clipboard addfile "c:\temp\clip1.txt" # add the content of the clipboard to a file. (text only)
clipboard writefile "c:\temp\clip2.txt" # write the content of the clipboard to a file. (text only)
clipboard writeufile "c:\temp\clip3.txt" # write the content of the clipboard to a Unicode file. (text only)
clipboard saveimage "c:\temp\clip01.png" # Save the current image in the clipboard into a file.
clipboard saveimage "c:\temp\clip01.gif"
My TC button(s):
Command: "D:\rive\path to\Tools\NirSoft\nircmd.exe
--or better--
Command: "%Commander_Path%\Tools\NirSoft\nircmd.exe
Parameters: clipboard saveimage ___~$currdate.ddMMyyyy$-~$currtime.HHmmss$_Clipboard.png
--or--
Parameters: clipboard writefile ___~$currdate.ddMMyyyy$-~$currtime.HHmmss$_Clipboard.TXT
Icon: WCMICONS.DLL
Tooltip: NirSofts NirCmd clipboard saveimage -or- writefile
- - -
(best use ISO-formated date: $currdate.yyyyMMdd$)
Creates
"___20180530-121120_Clipboard.png" file
(needs to have a picture in the clipboard!!!)
-or-
"___20180530-122228_Clipboard.TXT" file
(needs to have text in the clipboard!!!)
in current active folder.
- - -
Other tipp from Horst.Epp:
How do I move to the path of the clipboard?
viewtopic.php?f=3&t=50065
cmd=nircmd.exe exec show %COMMANDER_EXE% /O /S /A /L="~$clipboard$
- - -
Example nircmd.exe commands:
clipboard addfile "c:\temp\clip1.txt" # add the content of the clipboard to a file. (text only)
clipboard writefile "c:\temp\clip2.txt" # write the content of the clipboard to a file. (text only)
clipboard writeufile "c:\temp\clip3.txt" # write the content of the clipboard to a Unicode file. (text only)
clipboard saveimage "c:\temp\clip01.png" # Save the current image in the clipboard into a file.
clipboard saveimage "c:\temp\clip01.gif"
My TC button(s):
Command: "D:\rive\path to\Tools\NirSoft\nircmd.exe
--or better--
Command: "%Commander_Path%\Tools\NirSoft\nircmd.exe
Parameters: clipboard saveimage ___~$currdate.ddMMyyyy$-~$currtime.HHmmss$_Clipboard.png
--or--
Parameters: clipboard writefile ___~$currdate.ddMMyyyy$-~$currtime.HHmmss$_Clipboard.TXT
Icon: WCMICONS.DLL
Tooltip: NirSofts NirCmd clipboard saveimage -or- writefile
- - -
(best use ISO-formated date: $currdate.yyyyMMdd$)
Creates
"___20180530-121120_Clipboard.png" file
(needs to have a picture in the clipboard!!!)
-or-
"___20180530-122228_Clipboard.TXT" file
(needs to have text in the clipboard!!!)
in current active folder.
- - -
Other tipp from Horst.Epp:
How do I move to the path of the clipboard?
viewtopic.php?f=3&t=50065
cmd=nircmd.exe exec show %COMMANDER_EXE% /O /S /A /L="~$clipboard$
- - -
Last edited by Stefan2 on 2018-05-30, 10:27 UTC, edited 1 time in total.
Try clipboard file system plugin e.g. this one http://www.totalcmd.net/plugring/decClipboardFS.html
-
- Junior Member
- Posts: 18
- Joined: 2014-01-11, 11:45 UTC
-
- Junior Member
- Posts: 18
- Joined: 2014-01-11, 11:45 UTC
-
- Junior Member
- Posts: 18
- Joined: 2014-01-11, 11:45 UTC