Long press folder icon to calculate and show its size

Features wanted...
Post Reply
CISplorer
Posts: 8
Joined: 11 May 2017 10:20

Long press folder icon to calculate and show its size

Post by CISplorer »

and maybe more info. please.

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

Re: Long press folder icon to calculate and show its size

Post by admin »

Welcome to the club!

Calculating the folder size can take a long time. I don't think this should be triggered by a long mouse down. But I'm open to discussion...

Don

klownboy
Posts: 4139
Joined: 28 Feb 2012 19:27

Re: Long press folder icon to calculate and show its size

Post by klownboy »

I'm not sure I'd use that action for folder size, but it would be great if you could natively within XYplorer assign an action to a long press of the left or right mouse button on a file or folder in the list. It would be well used as is the right click on white space.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Long press folder icon to calculate and show its size

Post by SkyFrontier »

Agree.
Once I thought wait() could emulate long presses - those were the days where I didn't realized that wait() totally halts XY scripting instead of allowing some background jobs in that meantime, which prevented me from doing some cool stuff, like what later was implemented as the parameter 'wait' for the run command.

Stone age, as u can see.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

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

Re: Long press folder icon to calculate and show its size

Post by admin »

I'll think about it. But right now I don't find it totally inspiring.

klownboy
Posts: 4139
Joined: 28 Feb 2012 19:27

Re: Long press folder icon to calculate and show its size

Post by klownboy »

You might be surprised at how second nature the use of a long press can become. For example I'm using highend's excellent UMC to open an existing tab (e.g., G:\downloads) with the current filter applied or a long press on a particular file type like *.jpg bring up a menu specific to jpg files to manipulate or edit them.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

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

Re: Long press folder icon to calculate and show its size

Post by admin »

I was still thinking about the original topic. Long press while folder sizes being calculated? That could become a very looooong press...

Generally, I like "long press" as a new action. Do it all the time on my phone...

klownboy
Posts: 4139
Joined: 28 Feb 2012 19:27

Re: Long press folder icon to calculate and show its size

Post by klownboy »

It was only 6 months ago that I broke down and bought a smart phone, but yes I like the long press feature on phones. I had a cell phone previous to that, but it definitely wasn't smart. :)

Ideally it would be great if XYplorer could detect the long press of a left or right mouse button and have the resultant action taken be totally dependent on where the long press is accomplished (ControlatPos). In other words,

- If a long press is detected and the controlatpos is list => action is "this" (e.g., L 1)

- If the long press is detected and your hovering over a tab => the action is "that" (e.g., Tab 1|14).

- The "this " and "that" resultant actions can be easily scripted. The actions could be fine tuned for a particular file type of the current file or the particular tab or even a specific toolbar button, etc. So many possibilities.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

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

Re: Long press folder icon to calculate and show its size

Post by admin »

OK, I keep it in the back of mind. But it won't come too soon. Too many other ideas are waiting to be implemented...

klownboy
Posts: 4139
Joined: 28 Feb 2012 19:27

Re: Long press folder icon to calculate and show its size

Post by klownboy »

Thanks Don. I think it has the potential to become a very popular feature.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

CISplorer
Posts: 8
Joined: 11 May 2017 10:20

Re: Long press folder icon to calculate and show its size

Post by CISplorer »

ok admin, thanks for welcoming me and your consideration. i understand now that depending on the folder and its contents it could be a very long press. its just that i find my self hovering over a folder to get its info and the size isnt there. could, perhaps instead of long press, after a certain amount of hover time the folder size be calculated/shown?

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

Re: Long press folder icon to calculate and show its size

Post by admin »

Here is a tip: when you select a folder in the file list and then press Shift+F5 the size of just this selected folder will be calculated and shown in the size column.

CISplorer
Posts: 8
Joined: 11 May 2017 10:20

Re: Long press folder icon to calculate and show its size

Post by CISplorer »

so there's no way to add as a setting something like, long press on folder simulates shift+f5, or something...? if anything, how do i make a custom button that does the key press combo?

highend
Posts: 13313
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Long press folder icon to calculate and show its size

Post by highend »

There isn't. You mean for Calculate Folder Sizes?
You don't need some key press button, use

Code: Select all

#487;
as a script on it...
One of my scripts helped you out? Please donate via Paypal

CISplorer
Posts: 8
Joined: 11 May 2017 10:20

Re: Long press folder icon to calculate and show its size

Post by CISplorer »

i guess what i wanted, thanks.

Post Reply