Page 1 of 1
rename toggles
Posted: 13 Jan 2007 02:30
by surrender
Would be nicer if it would be possible to toggle F2 rename for selecting:
1. Full file name
2. File name only
3. File extension only
Eg: pressing F2 3 times would give quick access to rename extension only.
Re: rename toggles
Posted: 13 Jan 2007 09:09
by admin
surrender wrote:Would be nicer if it would be possible to toggle F2 rename for selecting:
1. Full file name
2. File name only
3. File extension only
Eg: pressing F2 3 times would give quick access to rename extension only.
Now that is a cute idea!

Posted: 13 Jan 2007 10:04
by j_c_hallgren
How would this interact with config opt to "exclude ext on rename"' which I have turned on?
After the new Up/Down arrow mods, I think the need for this is a bit less, but could still see it as option...so maybe...when "exclude ext" is set, the starting point would be different as it loops thru these...so I'd go from file name to ext only to full name, whereas if "exclude ext off", it'd start with full name, then file, then ext.
I'd also add a fourth one...deselect! So one could get out of a undesired F2 by hitting it a couple of times more...instead of using Esc key.
Posted: 13 Jan 2007 11:54
by admin
After some tests I opted for a somewhat simpler 2-state (1-time 3-state if extensions are excluded) version, that still adds lots of usage flow power.
Code: Select all
Now, pressing F2 while the edit box is visible will toggle the
selection state like this:
If all is selected: unselect all, move caret to end of text.
If not all is selected: select all.
Posted: 13 Jan 2007 18:14
by jacky
hmm.. I liked surrender's idea too, and I feel you somehow missed part of the idea

, which was not only a quick way to cycle through selections, but also to be able to quickly have selected only the (base) file name, only the extension, or all of it.
Right now, assuming you have "exclude extension" on, you can get the filename only (once), or everything, but not just the extension. As he said, cycle through:
a. base+ext
b. base
c. ext
(d. nothing)
(starting on a. or b. depending on whether "exclude ext" is enabled or not) would get my vote aswell actually.
And I think it doesn't even have to check what's selected to know where it is and move on, on start it puts a flag on a. or b. (regarding "exclude ext") and then pressing F2 updates that flag & set selection accordingly, and any other key than F2 would re-init the flag to its startup value.
Posted: 13 Jan 2007 18:39
by admin
jacky wrote:hmm.. I liked surrender's idea too, and I feel you somehow missed part of the idea

, which was not only a quick way to cycle through selections, but also to be able to quickly have selected only the (base) file name, only the extension, or all of it.
Right now, assuming you have "exclude extension" on, you can get the filename only (once), or everything, but not just the extension. As he said, cycle through:
a. base+ext
b. base
c. ext
(d. nothing)
(starting on a. or b. depending on whether "exclude ext" is enabled or not) would get my vote aswell actually.
And I think it doesn't even have to check what's selected to know where it is and move on, on start it puts a flag on a. or b. (regarding "exclude ext") and then pressing F2 updates that flag & set selection accordingly, and any other key than F2 would re-init the flag to its startup value.
No, I did not miss part of the idea, I just extracted the valuable parts of it.

When do you rename an extension? Once a year maybe? So the cool setting is "Exclude ext from rename" plus the current F2 toggle. All else is bloat. To me, at least.
Posted: 13 Jan 2007 18:41
by surrender
Yeah, Jacky understood me right.
I simply wanted F2 to separately select filename, extension and filename+extension. But i guess Don had some reason to not do it.
Posted: 13 Jan 2007 18:49
by j_c_hallgren
surrender wrote: But i guess Don had some reason to not do it.
My guess is, this way, it's compatible with usage in Tree and Catalog where extension doesn't really occur...I tried it out...it's almost good enough for me...but...would have preferred having an
unselect also to avoid having to use Esc to bail out from wrong item selected...as it's easier to hit same key a couple of more times than move to other key...when you're a hunt-n-peck typist like me!
Posted: 13 Jan 2007 19:10
by admin
j_c_hallgren wrote:surrender wrote: But i guess Don had some reason to not do it.
My guess is, this way, it's compatible with usage in Tree and Catalog where extension doesn't really occur...I tried it out...it's almost good enough for me...but...would have preferred having an
unselect also to avoid having to use Esc to bail out from wrong item selected...as it's easier to hit same key a couple of more times than move to other key...when you're a hunt-n-peck typist like me!
F2 and ESC are close neighbors on my keyboard.