Context Menu: Unpack Folder

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

Re: Context Menu: Unpack Folder

Post by j_c_hallgren »

FeatureCreep wrote:Remove Folder Level
Of your ideas, this is the only one that clicked with me as possible as it's simple but clear.
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.

Nighted
Posts: 463
Joined: 21 Jan 2007 01:58
Location: Gitmo Nation North, Win 7/10/Linux/(x64)

Re: Context Menu: Unpack Folder

Post by Nighted »

j_c_hallgren wrote:
FeatureCreep wrote:Remove Folder Level
Of your ideas, this is the only one that clicked with me as possible as it's simple but clear.
I like that too. I was thinking Strip Folder...there is something exciting about it....
Attachments
Folder.png
Folder.png (4.42 KiB) Viewed 1401 times
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.

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

Re: Context Menu: Unpack Folder

Post by admin »

Thanks, but I still find all suggestions a bit difficult. I think it needs more time. I will now turn to other things.

xsxxxx
Posts: 7
Joined: 27 Sep 2013 04:42

Re: Context Menu: Unpack Folder

Post by xsxxxx »

First, I don't think this function will only be used after extracting an archive.
I often need move files from a folder to another place, andthan delete this folder. Now, I used to delete it manually. IF could delete it automatically, two steps will be saved at least. So I think this function is usefull.

About the name, how about "break up folder"(or just "break folder")?

In my wishes, it could be:
1. an entry of context menu of a folder.
2. an entry of context menu within a folder' empty space (background menu).
3. an option "delete folder if it is empty after an move operation" in setting, for "move up", "move to"..and other move operations. And maybe need a hotkey to use or temporary disable this function (such as "shift+move to" to use or )

My English is not good, hope I'v said clearly.
Think You!

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

Re: Context Menu: Unpack Folder

Post by admin »

I rethought this and now I think the function is a touch too complex overall with a touch too many possible complications and unwanted side-effects. So, it's not on my list for now, sorry.

What I would add though is an addition to the white-space right-click context menu of an empty folder: new command "Delete this folder". That would help a bit in the "Unpack Folder" case, and also in many other cases.

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: Context Menu: Unpack Folder

Post by Papoulka »

I really need the ability to move all of a folder's contents to a parent, and then delete the empty folder. This is for the same reason others have: I always extract archives to subfolders, but those are really temporary.

In the meantime I wrote this script which I have attached to a button marked "Raise". No guarantees on it and IT IS NOT FOR USE IN BRANCH VIEW. I use this a lot. Here it is in case it helps anyone else:

Code: Select all

//Moves the current folder's contents to its parent folder, then deletes the now-empty current folder
msg "Move all to parent & del folder?", 1;
 focus "L";
 selfilter "*";
 moveto "..";
 focus "T";
 $fsizes = foldersize(, "<d>|<f>|<r>", 1);
 $focount = gettoken($fsizes,1,"|");
 $ficount = gettoken($fsizes,2,"|");
 $bycount = gettoken($fsizes,3,"|");
 $totcount = $focount + $ficount + $bycount;
 if ($totcount == 0) {
  delete 1, 0, ":tree";
 }

Post Reply