Page 1 of 1
Configuring Pane Display at Startup
Posted: 26 Oct 2019 01:18
by TestMeister
I have what I believe is a very basic XY layout:
• Left panel nav tree
• Single pane right panel with 6 tabs
o 4 locked
o 2 unlocked and set with C:\ as the home
• 1 set as the default
I have manually positioned the tree completely collapsed with the tabs to their locked or home locations and then executed #852 "Save tabset". By using #857 "Revert to saved tabset", I can manually restore the tabs to the top of their root locations.
I would like to launch XY each day with the tabs configured as if #857 had been executed and with the left pane tree collapsed.
By specifying a script file as an argument in the XY shortcut, I able to execute "tabset("revert")" which takes care of the tabs but cannot find a command to collapse the tree. Is this possible?
Thanks!
Re: Configuring Pane Display at Startup
Posted: 26 Oct 2019 12:13
by klownboy
There are a number of ways to accomplish what you want. One is starting XYplorer with a script. Try this:
XYplorer.exe /script="::#857;#1010;" You should probably provide the full path to XYplorer. You may not need the fully collapse tree CID #1010. If you save the tabset and make changes that are not saved, XY should startup in the saved configuration provided you're not saving settings on exit in Configuration.
Re: Configuring Pane Display at Startup
Posted: 26 Oct 2019 19:33
by TestMeister
Perfect, many thanks!!

Re: Configuring Pane Display at Startup
Posted: 06 Jun 2020 00:58
by TestMeister
Hi
I'm coming back on this because I am trying to always open XY with the tree fully collapsed.
My shortcut launches with the argument /script="::#1010;"
When XY is closed with a drive tree expanded, when launched, it will still show the expanded tree and is not affected by whether "Save settings on exit" is enabled or disabled.
Am I using the correct command and syntax?
Thanks!
Re: Configuring Pane Display at Startup
Posted: 28 Sep 2020 12:55
by admin
No, #1010 does not work here. It only collapses the current folder, AND it does not work on "This PC".
Try this instead (#484 = Reset Tree):
Re: Configuring Pane Display at Startup
Posted: 28 Sep 2020 23:33
by TestMeister
That's it, thanks!

Re: Configuring Pane Display at Startup
Posted: 05 Jan 2021 18:12
by TestMeister
Win 10 x64
XY 21.40.0100
Coming back as this now no longer closes the tree. It has inconsistent behavior depending on the state of the tree when XY is closed.
Sometimes it will close the C: drive and leave network drives open, other times it will close all the network drives and leave the C: drive open at the last positioned subfolder
My XY shortcut
Target: C:\MyPrograms\XYplorer\XYplorer.exe /script="::#484;"
Start in: C:\MyPrograms\XYplorer
ScreenHunter 2391.png
Re: Configuring Pane Display at Startup
Posted: 08 Jan 2021 09:45
by admin
You mean it stopped working recently?
Re: Configuring Pane Display at Startup
Posted: 09 Jan 2021 02:33
by TestMeister
Yes unless I somehow changed another config option that causes it to fail.
Here's my current config where I don't save settings but it still won't reset the tree and lists
Re: Configuring Pane Display at Startup
Posted: 15 Jan 2021 12:25
by admin
Did you already try to reproduce it with a fresh instance? This is an easy way to determine whether any user settings play a role, and it would be easier for me to reproduce it.
Re: Configuring Pane Display at Startup
Posted: 15 Jan 2021 19:06
by TestMeister
Sorry Don, not sure what you mean by a fresh instance.
Multiple times I have closed it, rebooted and the behavior persists.
*
As it turns out, I created a work around...a tool bar button that collapses all my drives so we can just defer this issue.
Here is my script which may not be the most elegant solution:
goto "Z:\";#1010;goto "Y:\";#1010;goto "X:\";#1010;goto "S:\";#1010;goto "C:\";#1010;
Thanks for the help!
Re: Configuring Pane Display at Startup
Posted: 15 Jan 2021 20:09
by highend
Sorry Don, not sure what you mean by a fresh instance
Execute
fresh; from the address bar?
Re: Configuring Pane Display at Startup
Posted: 15 Jan 2021 21:02
by admin
Well, a workaround. I would have loved to fix anything here, but as I said, I cannot reproduce the issue.
So, let's close it for now.