[Req] In-place filename renaming

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
Laplace
Junior Member
Junior Member
Posts: 16
Joined: 2005-10-13, 12:39 UTC
Location: Russia

[Req] In-place filename renaming

Post by *Laplace »

Hi all!
This is my first post here, so excuse me if I did something wrong.
I use TotalCmd so many years! Thanks for the brilliant File Manager!
But I feel inconvinience using in-place filename renaming.
It is often useful for me to switch to an another application during rename, to copy-paste some text from application to the filename.
The issue is than all my work is lost when TotalCmd loses the focus. In comparision the standard Explorer saves the changes.
I would really wish to have an option (in Configuraion for example) to save the last name I entered during switching from TotalCmd.
Is it possible?
cptpicard
Junior Member
Junior Member
Posts: 31
Joined: 2005-08-25, 17:58 UTC

Post by *cptpicard »

Hit F6. Do not use Shift+F6 for inplace renaming.

Overwrite the Pathname of the other window and the filename with your new filename. In this "move"-dialog no changes will be lost when you are switching tasks.
User avatar
Laplace
Junior Member
Junior Member
Posts: 16
Joined: 2005-10-13, 12:39 UTC
Location: Russia

Post by *Laplace »

2cptpicard
Yep, I know it
But In-place editor (Shift+F6) is more suitable for renaming (not moving) file.
If I use F6 for renaming I need to select the path, delete it, then start to edit filename.
I need in-place rename exactly! But I want it to be more comfortable.
I thought it is possible to bring the ideas of improvements in this forum to the developers.
User avatar
Laplace
Junior Member
Junior Member
Posts: 16
Joined: 2005-10-13, 12:39 UTC
Location: Russia

Post by *Laplace »

cptpicard wrote:Overwrite the Pathname of the other window and the filename with your new filename.
I no do not want to give a new name I need to modify existing one in most cases.
User avatar
Gral
Power Member
Power Member
Posts: 1606
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

You can use Multi Rename Tool for changing name of the single file too.
User avatar
Laplace
Junior Member
Junior Member
Posts: 16
Joined: 2005-10-13, 12:39 UTC
Location: Russia

Post by *Laplace »

2Gral
I think I should better write my own tool for simple renaming...
The F6 Move\Rename and Multi Rename Tool are not convinient enough for such simple operation.
TotalCmd 4ever!!!
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

I don't even understand what you are asking for,
You rename a file, it is renamed. whether you use shift-F6 inplace or f6. Leaving focus of TC to another program and what "work" is lost? the file is still renamed...
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Laplace wrote:
cptpicard wrote:Overwrite the Pathname of the other window and the filename with your new filename.
I no do not want to give a new name I need to modify existing one in most cases.
Maybe this AutoHotkey script would be helpful for you:

It copys automatically the filename - either with or without extension - that is selected by pressing [Shift]+[F6] to the clipboard. Thus you can paste the name in the other Application and change it to your desires and copy it again to the clipboard. Of course you can't use [Shift]+[F6] now for renaming because it would overwrite your new name. But hitting [F6] would do the trick because the filename with path is already selected and a [Ctrl]+[v] or [Shift]+[ins] would overwrite the path with your name and [Enter] makes your renaming permanent.

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
Laplace
Junior Member
Junior Member
Posts: 16
Joined: 2005-10-13, 12:39 UTC
Location: Russia

Post by *Laplace »

It is interesting, thank you.
But actually it is not the same that I wanted... I believe that the cancelling the renaming while switching to another application is not a good feature and I would even say that it is a bug.
I thought that developers of the TotalCmd could possibly fix this feature (or just give me a change to "turn it off").
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

There is a feature in TC, I dont know if it is intended:
Select the file you want to rename, and select the [..] folder as well, press Shift-F6 for inplace rename, and you are provided with the rename dialog box. Based on this i created this AutoHotkey script:
http://www.ghisler.ch/wiki/index.php/AutoHotkey:_Inplace_rename_with_dialog
This is a quick and dirty solution, make sure you read the comments.
I switched to Linux, bye and thanks for all the fish!
User avatar
Laplace
Junior Member
Junior Member
Posts: 16
Joined: 2005-10-13, 12:39 UTC
Location: Russia

Post by *Laplace »

SanskritFritz wrote:There is a feature in TC, I dont know if it is intended:
Select the file you want to rename, and select the [..] folder as well, press Shift-F6 for inplace rename, and you are provided with the rename dialog box.
You are genius!!! How did you find that? Very interesting...
I have not tried to use your AutoHotkey script ( 2muchwork! :( ) but the idea is brilliant! I'll try to grasp how to install your script later. Anyway, many thanks!
Have you participated in TotalCmd development or just use it very often? :)
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2Laplace
I got this idea from the forum, someone discovered this by accident, maybe BlackDog. TC develeopment is a one man project, Ghisler (Author) is the one here in the forum.
I switched to Linux, bye and thanks for all the fish!
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

@ SansskritFritz
RE: AutoIT Script
; (careful when selecting a folder, by default it calculates the size,
; which can be time consuming)

Anytime TC starts calc'ing a folder when I don't want...In my experience hitting [Esc] will stop it.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Anytime TC starts calc'ing a folder when I don't want...In my experience hitting [Esc] will stop it.
True. But this breaks the script.
If you are really interested, i will search a better method, and try to be keyboard independent :-)
I switched to Linux, bye and thanks for all the fish!
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

Laplace wrote: I'll try to grasp how to install your script later. Anyway, many thanks!
Simply download AutoHotkey and install, then doubleclick on the script (provide that it is saved in a file with extension *.ahk), enjoy.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply