Reset the tree at start?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Wublide
Posts: 49
Joined: 30 Jan 2018 16:57

Reset the tree at start?

Post by Wublide »

i can't find a setting to reset the tree at start, i mean like all path compressed and updated

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Reset the tree at start?

Post by jupe »

Not 100% what you mean, but you can set a startup path via,

Configuration | General | Startup & Exit | Permanent startup path

and then all the tree items would be non expanded except for the path you set, is that what you meant?

Or you can use this menu item, to compress the tree:

View | Reset Tree

and you should be able to do the same from launch by changing your startup shortcut to something like:

XYplorer.exe /script="::#484;" /flg=2

Wublide
Posts: 49
Joined: 30 Jan 2018 16:57

Re: Reset the tree at start?

Post by Wublide »

jupe wrote:[...]

and you should be able to do the same from launch by changing your startup shortcut to something like:

XYplorer.exe /script="::#484;" /flg=2
mate i own you a beer, thank you so much!

ps: how can i set up this kind of script by myself? where i can learn the commands and parameters?

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Reset the tree at start?

Post by jupe »

Every menu command has a command ID, you can locate the command IDs by the Help menu and then select List All Commands which gives you a searchable list, as for scripting the best resource is the help file which you can access by pressing F1 or the Help menu, also you can paste the following into the XY address bar for more information on scripting if you are interested:

Code: Select all

help "idh_scripting.htm";

Wublide
Posts: 49
Joined: 30 Jan 2018 16:57

Re: Reset the tree at start?

Post by Wublide »

jupe wrote:Every menu command has a command ID, you can locate the command IDs by the Help menu and then select List All Commands which gives you a searchable list, as for scripting the best resource is the help file which you can access by pressing F1 or the Help menu, also you can paste the following into the XY address bar for more information on scripting if you are interested:

Code: Select all

help "idh_scripting.htm";
you couldn't have been more useful, thank you again!

RalphM
Posts: 2122
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Reset the tree at start?

Post by RalphM »

Hi Wublide, welcome to the forum.
May I kindly ask you to use quotes of previous posts only if it helps clarifying the discussion, otherwise it just clutters up the forum with unnecessary repetitions.

Thanks.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

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

Re: Reset the tree at start?

Post by admin »

jupe wrote:XYplorer.exe /script="::#484;" /flg=2
jupe, I noted how often you come up with cool solutions using /script and /flg=2. I think this deserves a shortcut. From the next beta you can do the same thing simpler:

Code: Select all

XYplorer.exe /feed="::#484;"

Post Reply