Page 2 of 2

Re: MiniTrees

Posted: 20 Jan 2009 20:14
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

Re: MiniTrees

Posted: 20 Jan 2009 22:07
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

Re: MiniTrees

Posted: 20 Jan 2009 23:40
by RalphM
Jacky, thanks again for the second fix.
This time everything works as expected. Really impressive script anyway.

Re: MiniTrees

Posted: 21 Jan 2009 10:54
by jacky
Thanks, glad I (finally) got it working :)

Re: MiniTrees

Posted: 09 Feb 2009 15:31
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!

Re: MiniTrees

Posted: 10 Feb 2009 07:43
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.

Re: MiniTrees

Posted: 10 Feb 2009 10:29
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!