rename toggles

Features wanted...
Post Reply
surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

rename toggles

Post 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.

admin
Site Admin
Posts: 65390
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: rename toggles

Post 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! :D

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post 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.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 65390
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post 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.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

hmm.. I liked surrender's idea too, and I feel you somehow missed part of the idea :roll:, 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.
Proud XYplorer Fanatic

admin
Site Admin
Posts: 65390
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:hmm.. I liked surrender's idea too, and I feel you somehow missed part of the idea :roll:, 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. :wink: 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.

surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Post 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.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post 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!
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 65390
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post 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.

Post Reply