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

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Stefan2
Power Member
Power Member
Posts: 4163
Joined: 2007-09-13, 22:20 UTC
Location: Europa

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

Post 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


- - -



 
Fla$her
Power Member
Power Member
Posts: 2334
Joined: 2020-01-18, 04:03 UTC

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

Post 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
...
Overquoting is evil! 👎
User avatar
Stefan2
Power Member
Power Member
Posts: 4163
Joined: 2007-09-13, 22:20 UTC
Location: Europa

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

Post 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:
 
Fla$her
Power Member
Power Member
Posts: 2334
Joined: 2020-01-18, 04:03 UTC

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

Post 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?
Overquoting is evil! 👎
User avatar
Stefan2
Power Member
Power Member
Posts: 4163
Joined: 2007-09-13, 22:20 UTC
Location: Europa

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

Post 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.





 
Fla$her
Power Member
Power Member
Posts: 2334
Joined: 2020-01-18, 04:03 UTC

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

Post 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.
Overquoting is evil! 👎
User avatar
Stefan2
Power Member
Power Member
Posts: 4163
Joined: 2007-09-13, 22:20 UTC
Location: Europa

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

Post 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.



 
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6509
Joined: 2003-02-06, 17:36 UTC
Location: Germany

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

Post 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.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Post Reply