Page 1 of 2
Add inactive side to "Manage favorite folders"
Posted: 11 Nov 2023 15:53
by Horst
Using a 2pane layout, it would be very helpful to have pairs of folders managed.
So if I select an entry from the list, it should set both panes.
Please don't say this can be scripted, I know
For a 2pane file manager, this should be an intrinsic function.
Re: Add inactive side to "Manage favorite folders"
Posted: 11 Nov 2023 18:51
by admin
Yeah, why not. The next beta will have something in that way.
Re: Add inactive side to "Manage favorite folders"
Posted: 11 Nov 2023 19:57
by Horst
Thanks for the very fast implementation
Btw. I edit the list using the context menu of the Favorite Folders button.
Re: Add inactive side to "Manage favorite folders"
Posted: 11 Nov 2023 20:30
by klownboy
So
goto "\\VEGA\Users\Donald||D:\"; is very much like the old
goto "DUAL:1.<curpath>>>2||<curpath>>>2"; which you removed years ago. I remember being bummed out about it.
No real problem but I figured I'd let you know, if I use
goto "F:\||G:\"; and I have a default tab for pane 2 (and in this case there is no locked tab for G:\), it will open a new tab rather than using the default tab for pane 2. It seems to use the default tab for pane 1.
Re: Add inactive side to "Manage favorite folders"
Posted: 11 Nov 2023 21:03
by Horst
Now of course a suggestion for the context menu of the Favorite Folders button
Add the entry "Store both panes as favorites" and ask for a title of the entry.
Re: Add inactive side to "Manage favorite folders"
Posted: 12 Nov 2023 10:17
by admin
klownboy wrote: ↑11 Nov 2023 20:30
So
goto "\\VEGA\Users\Donald||D:\"; is very much like the old
goto "DUAL:1.<curpath>>>2||<curpath>>>2"; which you removed years ago. I remember being bummed out about it.
No real problem but I figured I'd let you know, if I use
goto "F:\||G:\"; and I have a default tab for pane 2 (and in this case there is no locked tab for G:\), it will open a new tab rather than using the default tab for pane 2. It seems to use the default tab for pane 1.
1) Yes, the DUAL syntax was clumsy and nobody seemed to be interested anyway. Now the handling is much cooler.
2) Will be fixed.
Re: Add inactive side to "Manage favorite folders"
Posted: 12 Nov 2023 10:52
by admin
Horst wrote: ↑11 Nov 2023 21:03
Now of course a suggestion for the context menu of the Favorite Folders button
Add the entry "Store both panes as favorites" and ask for a title of the entry.
Something like that is conceivable once the experimental phase has been successfully completed.
Re: Add inactive side to "Manage favorite folders"
Posted: 12 Nov 2023 17:43
by klownboy
Hi Don, in your beta notes you provide an example
echo "active: <curpath>";||echo "inactive: <curpath>";. When I try that I get an error for the inactive pane.
'|echo' is not a valid script command.
|echo
inactive: D:\Tools\XYplorer\Scripts
For this run, I was in
D:\Tools\XYplorer\Scripts in the active pane and
G:\Agent downloads in the inactive pane. It gets the active pane correct no matter which one it is but not the inactive one.
Re: Add inactive side to "Manage favorite folders"
Posted: 12 Nov 2023 18:11
by admin
Sure? Cannot reproduce.
Re: Add inactive side to "Manage favorite folders"
Posted: 12 Nov 2023 18:14
by Horst
This example from above works fine here
echo "active: <curpath>";||echo "inactive: <curpath>";
Re: Add inactive side to "Manage favorite folders"
Posted: 12 Nov 2023 18:24
by klownboy
admin wrote: ↑12 Nov 2023 18:11
Sure? Cannot reproduce.
Yes. Try running the beta example from
Scripting > Run script... But yes it works from the AB.
Re: Add inactive side to "Manage favorite folders"
Posted: 12 Nov 2023 18:43
by Horst
With Run Script, I also get the error.
Re: Add inactive side to "Manage favorite folders"
Posted: 12 Nov 2023 18:43
by admin
Oh, it's not supported here. This syntax is strictly for
locations. It's not a script.
If you want to use it as a script, you have to wrap it up as a location:
Code: Select all
goto 'echo "active: <curpath>";||echo "inactive: <curpath>";';
Re: Add inactive side to "Manage favorite folders"
Posted: 12 Nov 2023 19:26
by Horst
admin wrote: ↑12 Nov 2023 18:43
Oh, it's not supported here. This syntax is strictly for
locations. It's not a script.
If you want to use it as a script, you have to wrap it up as a location:
Code: Select all
goto 'echo "active: <curpath>";||echo "inactive: <curpath>";';
Confirmed

Re: Add inactive side to "Manage favorite folders"
Posted: 12 Nov 2023 19:50
by klownboy
admin wrote: ↑12 Nov 2023 18:43
Oh, it's not supported here. This syntax is strictly for
locations. It's not a script.
If you want to use it as a script, you have to wrap it up as a location:
Code: Select all
goto 'echo "active: <curpath>";||echo "inactive: <curpath>";';
While I was having lunch I figured it probably had to do with the address bar and
goto support. Thanks.