Background transferring and in-place renaming
Moderators: white, Hacker, petermad, Stefan2
Background transferring and in-place renaming
1. Start transferring in background
2. Press Shift+F6 on any file/folder to open in-place editor
3. Wait until transferring is completed
After it in-place editor closes, editing cancels and all changes loses. It happens quite often for me and it's annoying. Of course i dont wait till the end of transfer But it always happens suddenly and makes me nervous:)
Thanks.
2. Press Shift+F6 on any file/folder to open in-place editor
3. Wait until transferring is completed
After it in-place editor closes, editing cancels and all changes loses. It happens quite often for me and it's annoying. Of course i dont wait till the end of transfer But it always happens suddenly and makes me nervous:)
Thanks.
- majkinetor
- Senior Member
- Posts: 369
- Joined: 2005-11-20, 10:36 UTC
- Location: Belgrade, Serbia
- Contact:
It happens to me all the time.
When some application steals focus from TC editing is canceld. There should be option to handle this.
Also, another suggestion: option to automatically use previous extension. This should not be default behavior, more like, when I press <ENTER> after edit (like now) extension is left alone, but when I press <CTRL>+<ENTER> previous extension is restored.
This is important because it can save us from lot of work when renaming bunch of files.
What do you think guys...
When some application steals focus from TC editing is canceld. There should be option to handle this.
Also, another suggestion: option to automatically use previous extension. This should not be default behavior, more like, when I press <ENTER> after edit (like now) extension is left alone, but when I press <CTRL>+<ENTER> previous extension is restored.
This is important because it can save us from lot of work when renaming bunch of files.
What do you think guys...
@majkinetor
Press Shift+F6 twice (or twice F2 if you changed the default function key for inplace rename) to select the filename w/o extension.
Press the inplace function key repeatedly to alterante between full name and name w/o extension.
Concerning the cancellation of inplace rename field when losing focus/forced refresh - it's also annoying for me. But I guess it's a general Windows problem. This happens to all inplace edit fields in Windows, so I doubt there can be done anything about it.
Only the forced refresh after background file operations might be altered by Christian Ghisler to wait until inplace editing has been finished by the user.
Press Shift+F6 twice (or twice F2 if you changed the default function key for inplace rename) to select the filename w/o extension.
Press the inplace function key repeatedly to alterante between full name and name w/o extension.
Concerning the cancellation of inplace rename field when losing focus/forced refresh - it's also annoying for me. But I guess it's a general Windows problem. This happens to all inplace edit fields in Windows, so I doubt there can be done anything about it.
Only the forced refresh after background file operations might be altered by Christian Ghisler to wait until inplace editing has been finished by the user.
Select root folder [..] and file you want to rename.
Window will pop up...
Someone wrote this nice script exploiting this "feature":
http://www.ghisler.ch/wiki/index.php/AutoHotkey:_Inplace_rename_with_dialog
Window will pop up...
Someone wrote this nice script exploiting this "feature":
http://www.ghisler.ch/wiki/index.php/AutoHotkey:_Inplace_rename_with_dialog
Ambiguity succeeds where honesty dares not venture.
- majkinetor
- Senior Member
- Posts: 369
- Joined: 2005-11-20, 10:36 UTC
- Location: Belgrade, Serbia
- Contact:
Do you actually know any applicatin that keeps the changes after unfocus - refocus it?majkinetor wrote:Great news.X-Byte wrote:Press Shift+F6 twice
Loosing editing is not genearal Win problem. It is up to application.
I think the filelist has to be actualized each time the App gets focus again, because otherwise you can get serious trouble by trying to rename a file that has been renamed/deleted/moved by some other Application in the meanwhile.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
I think it's not hard to handle. Here is an example solution as i see it.Sheepdog wrote:I think the filelist has to be actualized each time the App gets focus again, because otherwise you can get serious trouble by trying to rename a file that has been renamed/deleted/moved by some other Application in the meanwhile.
sheepdog
When a user starts in-place renaming...
1. current name is stored into buffer_1 and FLAG_RENAME is set to TRUE.
When he changes the text...
2. it is stored into buffer_2.
If renaming was successful (ENTER pressed etc)...
3. all buffers are cleared and FLAG_RENAME is set to FALSE.
After actualizing (we know that in-place editor was closed) program checks whether FLAG_RENAME is FALSE. If so - there is nothing to do. Otherwise program checks whether file/folder with name stored in buffer_1 exists. If it not exists then go to step 3. If it exists...
4. program goes to that file/folder position, opens in-place editor, copies text from buffer_2 there and continues its work as it always does. And then step 3 again.
Thanks.
- majkinetor
- Senior Member
- Posts: 369
- Joined: 2005-11-20, 10:36 UTC
- Location: Belgrade, Serbia
- Contact:
Why do we need this comparison? We are trying to make something good, not to learn from ignorance of others.Do you actually know any applicatin that keeps the changes after unfocus - refocus it?
We are not doing this just for the money.
We are doing it for sh*t load of money.
r-moth.com
r-moth.deviantart.com
We are doing it for sh*t load of money.
r-moth.com
r-moth.deviantart.com