copying in the same directory - feature

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
J.A. Gruys
Member
Member
Posts: 130
Joined: 2003-07-29, 07:49 UTC
Location: Netherlands

copying in the same directory - feature

Post by *J.A. Gruys »

Hallo,

Recently, I learned from someone in this Forum how select files to be renamed (Shift-F6) without selecting the extension too, by putting into the wincmd.ini file the magic incantation "RenameSelOnlyName=1".

Does a similar option (or trick) also exist for *copying* a file within the same directory to a different name (Shift-F5)? I need that option almost as badly as I did the other one. I looked for it, but didn't find anything. Did I overlook it? Or doesn't it exist? If so, could it be realized in a future release?

Gratefully yours,
J.A.G.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

INC file---

Post by *Clo »

2J.A. Gruys
:) Hello !
• Maybe that command does the trick :

Code: Select all

cm_copySamepanel  or 3100
- For a button in the bar, or an entry in the "Start" (User's) Menu…
- You can use too the Win feature "Copy of…" Right-click >>> Local menu >>> Copy >>> Ctrl+V you get a copy so-named Copy of somefile.ext in the same panel / dir.
-TC commands exist too for this.
- All internal commands are described in the Tutorial (only).

:mrgreen: Kind regards,
Claude
Clo
Last edited by Clo on 2004-08-18, 07:22 UTC, edited 1 time in total.
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
nevidimka
Senior Member
Senior Member
Posts: 385
Joined: 2004-06-20, 21:38 UTC

Post by *nevidimka »

2J.A. Gruys
Does a similar option (or trick) also exist for *copying* a file within the same directory to a different name (Shift-F5)?
AFAIK there is no such entry. :(

2Clo
How about you read a question before you give an answer? ;) :P
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Test and shut

Post by *Clo »

2nevidimka
Hi !
- What about to test that I recommend before to claim an unpleasant sentence ?
* With the command cm_copySamepanel you get a dialog in which you can give any other name for the copy, it's that J.A. Gruys needs, and that works fine.
- There is no matter if this is an internal command instead an entry in <Wincmd.ini> to change the behaviour of the copy-feature. The handling is possible, that is important.
Regards
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
MacQ
Junior Member
Junior Member
Posts: 72
Joined: 2004-04-13, 12:54 UTC
Location: Slovenia

Post by *MacQ »

2Clo
i think nevidimka meant, that cm_copySamePanel is the same as Shift-F5 which J.A. Gruy already mentioned.
User avatar
nevidimka
Senior Member
Senior Member
Posts: 385
Joined: 2004-06-20, 21:38 UTC

Post by *nevidimka »

2Clo
What about to test that I recommend before to claim an unpleasant sentence ?
I did. There is no need to mention there is an internal command because there is a standard shortcut SHIFT+F5. If somebody read the first post thoroughly he would find this information.
it's that J.A. Gruys needs, and that works fine.
Nope. I suppose Clo doesn't got what J.A. Gruys wants to do. J.A. Gruys wants to have the same behaviour like RenameSelOnlyName=1 does for "Rename". He wants to have an option CopySelOnlyName=1.

2Clo
I'm sorry if my remark upset you.
User avatar
J.A. Gruys
Member
Member
Posts: 130
Joined: 2003-07-29, 07:49 UTC
Location: Netherlands

Post by *J.A. Gruys »

Yes. Nevidimka is quite right, something like CopySelOnlyName=1 is what I meant and wanted.

Yours gratefully,
J.A.G.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

I have made exactly this proposal half a year ago in a German thread with an additional MoveSelOnlyName without any reaction from ghisler:
http://ghisler.ch/board/viewtopic.php?t=3447

Maybe he will think about it another time... ;)

Icfu
This account is for sale
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Let's be lasy !

Post by *Clo »

2J.A. Gruys
:) Hello !
Yes. Nevidimka is quite right, something like CopySelOnlyName=1 is what I meant and wanted
• Okay, there is a misunderstanding -although yes and no-. Isn't a huge effort to select the part you want to change in the file-name …
- The issue could be solved very easily whether the behaviour of the internal editor (to type in the fields) should be the same than the most text-editors one, in which you can select only either the name, or the extension by a double-click; the selection stops always before / after the dot. In that case, no need for any entry in the file <Wincmd.ini>. Moreover, other users would prefer to change the extension, i.e. : name.bis
- Inconvenience : needs to avoid spaces in the file-names.
:|  Unfortunately, TC selects all, file+extension, that does't the trick about the name for you, and maybe doesn't the trick for others about the extension.

• Hence, since it's sweet to be a bit lasy :P , let's be lasy our's fill ! A good solution should be THIS… Can be used with the keyboard too.

2icfu
:) Hi Jeff !
• Your "Move" suggestion is on that fake. Still drawn by hand, I like that ! :wink:
- It should be nice to get the Author's opinion …

:mrgreen: Best regards to all,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Nice pic, I would like it like that. :)

Icfu
This account is for sale
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

I'd prefer (in addition) a solution with wincmd.ini. If you almost all the time change the extension (name; all) more comfortable to not have to click a button or press a special key to select the desired.


Maybe select extension could be:
RenameSelOnlyName=2
CopySelOnlyName=2
MoveSelOnlyName=2

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Or tick-boxes---

Post by *Clo »

2Sheepdog
:) Hello Stefan !
• You could have tick-boxes instead buttons… In such a case, the settings of this dialog need a section in <wincmd.ini> to be saved; you could keep your most usual setting. This should be better if you have a lot of copies in the same dir to make, all in the same way.
- But the buttons have an advantage : they don't need to be saved, and you can change the handling-style on the spot at each time, following the current needs…

:mrgreen: Friendly,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
nevidimka
Senior Member
Senior Member
Posts: 385
Joined: 2004-06-20, 21:38 UTC

Post by *nevidimka »

I would prefer this behaviour

e.g.
press 1st Shift+F6: opens rename dialog and selects name+ext.
press 2nd Shift+F6: selects name only
press 3rd Shift+F6: selects ext only
press 4th Shift+F6: (goto 1st)

RenameSelOnlyName selects default selection for 1st.
e.g.
RenameSelOnlyName=0: starts like above
RenameSelOnlyName=1: starts with selection of name only
RenameSelOnlyName=2: starts with selection of ext only

My 2 cents worth. :D :P
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Press… nothing !

Post by *Clo »

2nevidimka
:) Hi !
… and people (like me) having a handicap at hand(s) press nothing !
TC is ALSO designed to be used with a mouse (God thank!). Don't believe that everybody uses the keyboard only.

:mrgreen: regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
nevidimka
Senior Member
Senior Member
Posts: 385
Joined: 2004-06-20, 21:38 UTC

Post by *nevidimka »

2Clo
2nevidimka
I'm sorry. :( But I cann't see any reason why your remark is addressed to me. :? I'm not handicapped neither physically nor mentally. :P :D
The doorstep to the temple of wisdom is a knowledge of our own ignorance. Benjamin Franklin
Post Reply