Page 1 of 1

Reset the tree at start?

Posted: 18 Feb 2018 16:12
by Wublide
i can't find a setting to reset the tree at start, i mean like all path compressed and updated

Re: Reset the tree at start?

Posted: 18 Feb 2018 16:27
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

Re: Reset the tree at start?

Posted: 18 Feb 2018 17:00
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?

Re: Reset the tree at start?

Posted: 18 Feb 2018 17:04
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";

Re: Reset the tree at start?

Posted: 18 Feb 2018 17:08
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!

Re: Reset the tree at start?

Posted: 19 Feb 2018 02:28
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.

Re: Reset the tree at start?

Posted: 28 Feb 2018 12:44
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;"