CEA - Switching panes event

Features wanted...
Post Reply
highend
Posts: 13274
Joined: 06 Feb 2011 00:33

CEA - Switching panes event

Post by highend »

If you're switching between panes (without changing folders), no event is triggered

If we had such an event we could implement switching trees (different ones for both panes)...
One of my scripts helped you out? Please donate via Paypal

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: CEA - Switching panes event

Post by Marco »

I can see the appeal... +1
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: CEA - Switching panes event

Post by klownboy »

Another +1. The thought reminded my of SammaySarkar's Folder Pane Preview which lets you select a folder in the first pane, and preview its contents on the second pane. viewtopic.php?f=7&t=17968 We might be able to simplify it. The script is throwing some recursive errors which can be corrected, but this would simplify that and open doors to other nice scripts.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

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

Re: CEA - Switching panes event

Post by admin »

OK, I'll check that.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: CEA - Switching panes event

Post by highend »

Great. Another thing to check:

E.g. in "Sync Browse" mode, a folder changing event is fired twice (one for each pane). It would be nice if this can be reduced to one if both panes are in the same folder
One of my scripts helped you out? Please donate via Paypal

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

Re: CEA - Switching panes event

Post by admin »

highend wrote: 25 Jun 2021 09:41 E.g. in "Sync Browse" mode, a folder changing event is fired twice (one for each pane). It would be nice if this can be reduced to one if both panes are in the same folder
Depending on the script it might be desired.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: CEA - Switching panes event

Post by highend »

Ok, how about a setting then?
One of my scripts helped you out? Please donate via Paypal

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

Re: CEA - Switching panes event

Post by admin »

Not sure. Might later add a tweak. Needs a little thinking.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: CEA - Switching panes event

Post by highend »

For testing: A small custom event action script that switches trees when

a.) Menu - Window - [x] Show Tree
b.) Menu - View - Mini Tree - [x] Mini Tree
c.) You're using the current beta v21.90.0042

Setup:
Configuration | General | Custom Event Actions | Other Events
Events: Switch panes
Action: Run script
Script: Place the content of the attachment into it or load the script file via
load "<some path>\<the file name you'll give to it>.xys";

Each pane now has its own tree^^

At least for me it works fine...

Follow up and download: viewtopic.php?f=7&p=188839
One of my scripts helped you out? Please donate via Paypal

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

Re: CEA - Switching panes event

Post by admin »

Works well! :tup: :appl:

Post Reply