Page 1 of 1

Add '1'-parameter to this Copy-Names-to-Clipboard commands

Posted: 2023-05-04, 06:05 UTC
by Stefan2
Hello Christian,

thanks for new v11.

I want to remind on this often asked feature.



Additionally to
cm_CopyPathOfFilesToClip >> Copy path name of each file to clipboard (new in TC v11)

I would like to suggest a parameter
cm_CopyPathOfFilesToClip 1 >> Copy path name of each file to clipboard w/o trailing backslash , like cm_CopySrcPathToClip works


- - -


Additionally to
cm_CopyFullNamesToClip >> Copy names with full path , example: c:\Windows\write.exe

I would like to suggest a parameter
cm_CopyFullNamesToClip 1 >> Copy BASE names with full path , w/o extension, example: c:\Windows\write


- - -


Additionally to
cm_CopyNamesToClip >> Copy filenames to clipboard , example: notepad.exe

I would like to suggest a new command
cm_CopyBASENamesToClip >> Copy BASE of filenames to clipboard , w/o extension , example: notepad

or "cm_CopyNamesToClip 1" >> Copy BASE of filenames to clipboard , w/o extension , example: notepad


- - -



 

Re: cm_CopyPathOfFilesToClip ++ cm_CopyBASENamesToClip , w/o extension , w/o trailing backslash

Posted: 2023-05-04, 06:21 UTC
by Fla$her
Stefan2 wrote: 2023-05-04, 06:05 UTC I would like to suggest a parameter
cm_CopyPathOfFilesToClip 1 >> Copy path name of each file to clipboard w/o trailing backslash , like cm_CopySrcPathToClip works 
This has already been considered:
ghisler(Author) wrote: 2023-05-01, 14:34 UTC I will probably add some of these, but they need new functions:
...
cm_CopyPathNoSepOfFilesToClip
...

Re: Add '1'-parameter to this Copy-Names-to-Clipboard commands

Posted: 2023-06-14, 06:37 UTC
by Stefan2
Hello Christian

will you also add the '1'-parameter to this Copy-Names-to-Clipboard commands?


cm_CopyPathOfFilesToClip 1 --- Copy path name of each file to clipboard --- w/o trailing backslash
cm_CopyFullNamesToClip 1 ---- Copy names with full path to clipboard ------ w/o extension
cm_CopyNamesToClip 1 --------- Copy filenames to clipboard ------------------- w/o extension



as it was often asked for by users

Please :wink:
 

Re: Add '1'-parameter to this Copy-Names-to-Clipboard commands

Posted: 2023-06-14, 09:28 UTC
by Fla$her
Stefan2 wrote: 2023-06-14, 06:37 UTC cm_CopyFullNamesToClip 1 ---- Copy names with full path to clipboard ------ w/o extension
What is the usefulness of such an option? Can you give an example of use?

Re: Add '1'-parameter to this Copy-Names-to-Clipboard commands

Posted: 2023-06-18, 10:10 UTC
by Stefan2
Fla$her wrote: 2023-06-14, 09:28 UTC
Stefan2 wrote: 2023-06-14, 06:37 UTC cm_CopyFullNamesToClip 1 ---- Copy names with full path to clipboard ------ w/o extension
What is the usefulness of such an option? Can you give an example of use?

You may want to search the forum to find requests for that.
There're always use cases we don't think about our self but other user ask for that, for whatever reason.
And I think such basics options should just be present.





 

Re: Add '1'-parameter to this Copy-Names-to-Clipboard commands

Posted: 2023-06-18, 10:51 UTC
by Fla$her
2Stefan2
That's not the answer. I'm not asking about other users. I'm asking about the real benefits for you.
The command to copy the base names is absolutely clear to me, I use a custom solution, but I can't imagine the need to cut off extensions from full names.

Re: Add '1'-parameter to remove the extensions to this Copy-Names-to-Clipboard commands

Posted: 2023-07-02, 11:54 UTC
by Stefan2
I have no use for this myself, but I answer often such questions and gave advice how to remove the extensions by a script solution.

It's not about what you need or what you can imagine, there are a few ten-thousand of users
with hundreds of needs and ideas...for whatever reason and a few you would never think about yourself.

And I think such options should be implemented on default on an file manager,
even with such an work around as by adding an 1 as parameter.

Next let the user decide how he want to do his work.



 

Re: Add '1'-parameter to this Copy-Names-to-Clipboard commands

Posted: 2023-07-02, 12:56 UTC
by Horst.Epp
Fla$her wrote: 2023-06-18, 10:51 UTC 2Stefan2
That's not the answer. I'm not asking about other users. I'm asking about the real benefits for you.
The command to copy the base names is absolutely clear to me, I use a custom solution, but I can't imagine the need to cut off extensions from full names.
One possible example.
Using a script which gets the path of the source as parameter, which is used to start a compiler.
It needs the path again, adding the .exe extension for checking the output file.
Of course, a batch file can strip the extension, but the job is simpler with the clipboard.
Good editors have a variable for the source path without the extension for the same reason.