MiniTrees

Discuss and share scripts and script files...
RalphM
Posts: 2089
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: MiniTrees

Post by RalphM »

Hi Jacky

Thanks for the fix. The List section is perfect now for the first MT, BUT adding a second MT and more, messes up the name of the first one in the List section completely.
There seems to be a length problem when reading the previous value of that key and then writing it back to the ini again.
So I'm editing the List section manually for the time being, but would appreciate if you could look into it again.

Furthermore I was wondering what the shaded menu entry [Mini Trees] is supposed to do (between Show All MT and About MT)?

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

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: MiniTrees

Post by jacky »

RalphM wrote:Thanks for the fix. The List section is perfect now for the first MT, BUT adding a second MT and more, messes up the name of the first one in the List section completely.
:oops: Yeah, seems there was another little bug in there, thanks. New version is up, this time it should work all the time.

About the "[ MiniTrees ]" menu, it doesn't do anything. It's just something I started doing on my scripts recently, where I put its "actual" commands on the top part of the menu, then this disabled item with the name of the script, and then commands relating to the script itself, such as About, Config, Check for updates, Show Full Menu, etc
Proud XYplorer Fanatic

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

Re: MiniTrees

Post by RalphM »

Jacky, thanks again for the second fix.
This time everything works as expected. Really impressive script anyway.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: MiniTrees

Post by jacky »

Thanks, glad I (finally) got it working :)
Proud XYplorer Fanatic

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: MiniTrees

Post by jacky »

:arrow: The latest version of the script is 0.01.0013 and can be downloaded from here. Requires XY 7.90.0075 and common-jacky 0.01.0006

:arrow: Adding a new MT when there was already one (or more) saved could mess up the first ones' names, fixed.

:arrow: expanding nodes: when a location wasn't available, and if you continue script execution of course, others weren't expanded, fixed.

:arrow: Opening "submenu" "Load A Mini Tree" then going back, and showing all mini trees would have, afterwards, the last mini trees in list to be loaded, fixed.

:arrow: Like for loading MTs, you can load SaveMiniTree to save the current MT. You can preset some options through global variables: $MT_name for the name of the MT, $MT_expand_active to 1 or 0 whether or not expand active location, and $MT_lock_state to the new lock state (0, 1, or "r")
You can also set $MT_overwrite to 1 to overwrite an existing MT without confirmation. (Example on 1st post)

:arrow: added Configuration screen: now you can very easily add/remove MT, add/remove nodes, rename MT, change lock state, and set which nodes to be expanded just by clicking a checkbox!
Proud XYplorer Fanatic

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: MiniTrees

Post by j_c_hallgren »

Trying out curr vers of this script and having a problem...created a new MT, added two folders to it...all fine...go to do a "Load" of it but do Cancel instead...all subseq attempts of "Load" fail to get sub-menu and instead just loop/return to std script MT menu. :(

If I exit out totally, I can get back to try it again...also, only other thing I did before above was set it up to be part of updater.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: MiniTrees

Post by jacky »

j_c_hallgren wrote:Trying out curr vers of this script and having a problem...created a new MT, added two folders to it...all fine...go to do a "Load" of it but do Cancel instead...all subseq attempts of "Load" fail to get sub-menu and instead just loop/return to std script MT menu. :(

If I exit out totally, I can get back to try it again...also, only other thing I did before above was set it up to be part of updater.
Right, little bug there, thanks. New version is up!
Proud XYplorer Fanatic

Post Reply