This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Right clic to create a new file with clipboard content

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
SLEG
New Member
New Member


Joined: 14 Jan 2018
Posts: 1
Location: Belgium

PostPosted: Sun Jan 14, 2018 7:13 am    Post subject: Right clic to create a new file with clipboard content Reply with quote

Should it be possible to develop a paste from clipboard function (with the right click menu) in order to create automatically a new file based on the clipboard content ?
If the clipboard contains text => makes a .TXT file, if it's a picture (i.e. a printscreen) => makes a .PNG file (or other file type to be defined in the settings),...
It could improve some repetitive process without needing to use another soft to save the clipboard content. I do a lot of printscreens which must be saved locally in different directories and it would help me. I know that some tools can do that but it's mainly for a printscreen and the pictures are always saved in the same directory.
Back to top
View user's profile Send private message Send e-mail
elgonzo
Senior Member
Senior Member


Joined: 04 Sep 2013
Posts: 377

PostPosted: Sun Jan 14, 2018 7:19 am    Post subject: Reply with quote

There is a file-system plug-in which offers the content of the clipboard as files (which you can then copy to whatever drive/location you want). Unfortunately, no x64 version available (as far as i can tell) Sad

https://www.ghisler.ch/board/viewtopic.php?t=12773
https://totalcmd.net/plugring/decClipboardFS.html
_________________
Windows 7 Pro x64 SP1
Back to top
View user's profile Send private message
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 4804
Location: Europe, Aachen

PostPosted: Sun Jan 14, 2018 8:11 am    Post subject: Re: Right clic to create a new file with clipboard content Reply with quote

SLEG wrote:
I do a lot of printscreens which must be saved locally in different directories and it would help me. I know that some tools can do that but it's mainly for a printscreen and the pictures are always saved in the same directory.

One solution i'm using regular for this task is: nircmd.exe clipboard saveimage.

e.g. as Totalcommander Button:
Code:
TOTALCMD#BAR#DATA
%COMMANDER_PATH%\..\SYS\NirLauncher\NirSoft\nircmd.exe clipboard saveimage
~$currdate.yyyy-MM-dd$-~$currtime.HH_mm_ss$.png
WCMICONS.DLL,26
nircmd clipboard saveimage current date

0
-1

Not automatic depending on clipboard content but a second button to save text can be created using the same tools.

HTH
Holger
_________________
Make our planet great again
Back to top
View user's profile Send private message Send e-mail
azertt
Junior Member
Junior Member


Joined: 01 Sep 2009
Posts: 6
Location: Paris, france

PostPosted: Sat Jan 20, 2018 2:45 am    Post subject: Reply with quote

i dont manage to understand how to add that to the button bar

Code:
TOTALCMD#BAR#DATA
%COMMANDER_PATH%\..\SYS\NirLauncher\NirSoft\nircmd.exe clipboard saveimage
~$currdate.yyyy-MM-dd$-~$currtime.HH_mm_ss$.png
WCMICONS.DLL,26
nircmd clipboard saveimage current date

0
-1


can you explain
_________________
FRENCH DSL
Back to top
View user's profile Send private message Send e-mail
elgonzo
Senior Member
Senior Member


Joined: 04 Sep 2013
Posts: 377

PostPosted: Sat Jan 20, 2018 3:25 am    Post subject: Reply with quote

2azertt,
just copy the whole content of the code block (including the last line with the "-1") into the clipboard. Then right-click on the button bar in TC and select "Paste" from the context menu, and the button will appear...
_________________
Windows 7 Pro x64 SP1
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group