Remove standalone space from command line after removing foc

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Remove standalone space from command line after removing foc

Post by *ado »

This is the scenario:
I need to copy file with path, so usually I am doing "Ctrl-Shift-Enter" on file. It will copy it with full path to cmd line including extra space at then end. This space is very useful when I need to put to cmd line multiple files.
The problem is that I am usually taking this file name to clipboard without that space (select via keyboard and Shift-Del).
After this in command line is just space. When I am navigating in file list up and down everything is ok. Once I want to change dir, I press Enter and instead of entering dir, TC interprets space as "my wish to see current directory in Explorer window".
If I pres ESC before that, cmd line would be emptied - unfortunatelly I usually forget :-|.
So I'd say it would be useful, if TC will remove that space automatically if:
1. Cmd line contains only one space
2. and it just loosing focus
What do you think?

ado
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Why you dont use:
cm_CopyFullNamesToClip
cm_CopyNamesToClip
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

probably because I am lazy to define those shortcuts ;-)... now seriously - thank you for advice. I'll define those shortcuts and I'll try to convince myself to change my habit... in fact those shortcuts will be even faster than my old method

ado
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

I created a ButtonBar eXtended button for that long times ago.

It calls "cm_CopyFullNamesToClip" on normal call and "cm_CopyNamesToClip" when I hold down "Ctrl" when clicking on it.
Works great since years.
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

nice, unfortunatelly I'd like to avoid that "when clicking on it" :roll:
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

What do you mean?
You want a keyboard only version?
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

yep - I am keyboard guy. But as I said - I (already)defined those commands as shortcuts
Post Reply