Hi!
This is how I do it to save the clipboard content into either an image file or a text file -- depending on what's currently in the clipboard.
Ctrl + C/X/V work as always (of course!).
In addition I have added Ctrl + Y to
- paste the clipboard content into a file "YMD - hms - clip.jpg" or "YMD - hms - clip.txt",
- jump to the new file, and
- do a quick rename to immediately change the name to whatever I need.
In wincmd.ini I put
In usercmd.ini I have these commands:
Code: Select all
[em_gotoNewestFile]
cmd=cm_SrcByName 8,cm_SrcByDateTime 2,cm_GoToFirstFile,cm_SrcByName 9
menu=Go to newest file
[em_pasteClipboardImg]
button=%COMMANDER_PATH%\WCMICONS.DLL,26
cmd=%COMMANDER_PATH%\tools\nirsoft\nircmd.exe clipboard saveimage ~$currdate.yyyy-MM-dd$" - ~$currtime.HH_mm_ss$ - clip".jpg
menu=Paste clipboard to image using nircmd
[em_pasteClipboardTxt]
button=%COMMANDER_PATH%\WCMICONS.DLL,26
cmd=%COMMANDER_PATH%\tools\nirsoft\nircmd.exe clipboard writefile ~$currdate.yyyy-MM-dd$" - ~$currtime.HH_mm_ss$ - clip".txt
menu=Paste clipboard to text file using nircmd
[em_pasteClipboard]
button=%COMMANDER_PATH%\WCMICONS.DLL,26
cmd=em_pasteClipboardImg, em_pasteClipboardTxt, cm_Wait 300, cm_rereadsource, cm_Wait 300, em_gotoNewestFile, cm_RenameSingleFile
menu=Paste clipboard to image or text file using nircmd
Maybe that helps and inspires for more refinements...
(BTW: em_gotoNewestFile is taken from petermad's "TC Extended Menus". I hope this is ok. Thank you!)