CEA - Drives

Features wanted...
sl23
Posts: 295
Joined: 03 Feb 2015 23:34
Location: XYplorer 64 Latest beta, Win11x64 25H2, 1920x1080 @100%

CEA - Drives

Post by sl23 »

Would it be possible to have a new Custom Event Action group for Drives please?

Specifically, what I would like, is to be able to Left Click a Drive in the Toolbars 'All Drives (Group)' item, and open a drive by default in a new tab.

Thank you

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

Re: CEA - Drives

Post by admin »

There is already a cooler way: You hold SHIFT while clicking a drive button to open it in a new tab.

sl23
Posts: 295
Joined: 03 Feb 2015 23:34
Location: XYplorer 64 Latest beta, Win11x64 25H2, 1920x1080 @100%

Re: CEA - Drives

Post by sl23 »

Thanks, but I prefer NOT to use a keyboard. Is there a current way to do this without keyboard interaction?

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

Re: CEA - Drives

Post by admin »

1. Open a new tab, 2. Click the button

sl23
Posts: 295
Joined: 03 Feb 2015 23:34
Location: XYplorer 64 Latest beta, Win11x64 25H2, 1920x1080 @100%

Re: CEA - Drives

Post by sl23 »

haha! :appl: That's not technically what I asked for though!

I meant a single click without the need to open new tab, so it's done automatically.

In CubicExplorer, I currently browse a folder in one tab and via a setting in the options, when I need to open a new tab to browse a different drive I can just click the drive to open a new tab with that drive as it's root. Saving time by not having to open a new tab first.

Is this possible? Maybe via scripting? If I need to learn about that I'm willing to give it a go. But I really find this is so much easier than Open tab->Select drive or using keyboard shortcuts. This is my preference. If there's a way to achieve this, I will do whatever it takes.

What is the scripting language used by XY?

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

Re: CEA - Drives

Post by highend »

01. If you have a sufficient mouse driver software installed (that can remap depending on active application)...
Let it remap one of the unused (4th, 5th?) buttons to be the shift key

02. Use AutoHotkey instead if 01. can't be used

XY scripting doesn't help in this case
One of my scripts helped you out? Please donate via Paypal

sl23
Posts: 295
Joined: 03 Feb 2015 23:34
Location: XYplorer 64 Latest beta, Win11x64 25H2, 1920x1080 @100%

Re: CEA - Drives

Post by sl23 »

Thanks highend for the reply :)

but...

1. My mouse doesn't have configurable buttons.
2. A lot to learn for one feature seeing as I know nothing about AutoHotkey!
3. Bollocks! :cry:

Online
eil
Posts: 1869
Joined: 13 Jan 2011 19:44

Re: CEA - Drives

Post by eil »

why not make scripted buttons for needed drives or one button with dropdown list = with scripting you can make it open new tab before opening drive.
Win 7 SP1 x64 100% 1366x768|1900x1080

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

Re: CEA - Drives

Post by highend »

Even AHK isn't necessary because X-Mouse Button Control could do the necessary things as well...
but with only a two button mouse, nope...

The only other option (as eil mentioned) is scripting but not in conjunction with the "All drives" button.

But with a custom event action on folder change you could create a "show only available" user-defined buttons toolbar and those buttons can do whatever necessary.
One of my scripts helped you out? Please donate via Paypal

sl23
Posts: 295
Joined: 03 Feb 2015 23:34
Location: XYplorer 64 Latest beta, Win11x64 25H2, 1920x1080 @100%

Re: CEA - Drives

Post by sl23 »

Thanks for the tips. I'll look into it :D

sl23
Posts: 295
Joined: 03 Feb 2015 23:34
Location: XYplorer 64 Latest beta, Win11x64 25H2, 1920x1080 @100%

Re: CEA - Drives

Post by sl23 »

sl23 wrote: 29 Dec 2020 15:20What is the scripting language used by XY?
How exactly do you know where to start if you don't know what language is used?
Or is that irrelevant?

What exactly is the criteria for scripting?
Any help would be appreciated.

Thanks

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

Re: CEA - Drives

Post by highend »

It's based on php but it does have its own feature set. The help file contains everything necessary and we have hundreds of scripts to learn from in the script section of the forum
One of my scripts helped you out? Please donate via Paypal

sl23
Posts: 295
Joined: 03 Feb 2015 23:34
Location: XYplorer 64 Latest beta, Win11x64 25H2, 1920x1080 @100%

Re: CEA - Drives

Post by sl23 »

Thanks, I forgot about that! I'm not used to help files actually being of use! :oops:

sl23
Posts: 295
Joined: 03 Feb 2015 23:34
Location: XYplorer 64 Latest beta, Win11x64 25H2, 1920x1080 @100%

Re: CEA - Drives

Post by sl23 »

highend wrote: 30 Dec 2020 00:19 It's based on php but it does have its own feature set. The help file contains everything necessary and we have hundreds of scripts to learn from in the script section of the forum
If it's based on php, why does php look the same as html code but every script I have looked at is totally different? In fact it seems more like C++ to me? Not that I know anything about either, but from simple observational pov, it appears that way.

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

Re: CEA - Drives

Post by highend »

What?

From your first link:

Code: Select all

echo "Hi, I'm a PHP script!";
and now XY's echo command:

Code: Select all

echo "hi!";
And your C++ example is not a graphical "echo" but outputs text in a command prompt
One of my scripts helped you out? Please donate via Paypal

Post Reply