Mini Tree activation
Mini Tree activation
Is there a way to explicitly activate or deactivate MiniTree? I have found just a way to toggle.
Please have mercy if the answer was obvious and I overlooked it.
Please have mercy if the answer was obvious and I overlooked it.
Win 10 Pro 64bit
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Mini Tree activation
Toggle IS the way to activate/deactivate it.Borut wrote:Is there a way to explicitly activate or deactivate MiniTree? I have found just a way to toggle.
Please have mercy if the answer was obvious and I overlooked it.
Re: Mini Tree activation
At a certain point in script I want to activate it, irrespectively of its current state (be it on, or off, I want to put it on). And vice versa. I do not want to toggle.
Win 10 Pro 64bit
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Mini Tree activation
Oh, sorry my mistake. I don't see a way (maybe I overlooked).Borut wrote:At a certain point in script I want to activate it, irrespectively of its current state (be it on, or off, I want to put it on). And vice versa. I do not want to toggle.
Closest I got was to try and get minitree state by using "get ("#489");" but that is not yet coded.
Maybe others know a way.
-
admin
- Site Admin
- Posts: 65174
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Mini Tree activation
Correct, I also think coding get("#489") will be the only way. Or I add something to the loadtree command...serendipity wrote:Oh, sorry my mistake. I don't see a way (maybe I overlooked).Borut wrote:At a certain point in script I want to activate it, irrespectively of its current state (be it on, or off, I want to put it on). And vice versa. I do not want to toggle.
Closest I got was to try and get minitree state by using "get ("#489");" but that is not yet coded.
Maybe others know a way.
FAQ | XY News RSS | XY X
Re: Mini Tree activation
Dirty trick as an work around,Borut wrote:At a certain point in script I want to activate it, irrespectively of its current state (be it on, or off, I want to put it on). And vice versa. I do not want to toggle.
if it is no problem to always save your configuration:
Code: Select all
#193; //File / Settings / Save Configuration to XYplorer.ini
$MinitreeEnabled = getkey("Minitree", "Settings"); //read the XYplorer.ini
if ($MinitreeEnabled == 0){#489;} //View / Mini Tree
-
admin
- Site Admin
- Posts: 65174
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Mini Tree activation
While I'm at it, any other desires of this type, IOW other comand IDs I should add here?admin wrote:Correct, I also think coding get("#489") will be the only way.
FAQ | XY News RSS | XY X
-
Zardoz2293
- Posts: 594
- Joined: 09 Nov 2011 20:20
- Location: USA
Re: Mini Tree activation
At the risk of being off topic, I was directed here for problems I'm having. I don't know enough about the command ID thing to know if I'm on the right 'branch' so to speak. So please excuse my ignorance. That topic was http://www.xyplorer.com/xyfc/viewtopic. ... 409#p68409admin wrote:While I'm at it, any other desires of this type, IOW other comand IDs I should add here?admin wrote:Correct, I also think coding get("#489") will be the only way.
1. Branch View: Order By FOLDERS, FILES (default), but desire Order By FILES, FOLDERS
2. Branch View: Ability *not* to have List View switch displaying the Branch View with the included "status" bar being modified.Zardoz2293 wrote:Default: Order By FOLDERS, FILERequired/Needed: Order By FILES, FOLDERSCode: Select all
F:\XY.Test\Test\PDF\v3 <DIR> F:\XY.Test\Test\PDF\v3\v3.10 (2005-10-03) <DIR> F:\XY.Test\Test\PDF\v3\v3.10 (2005-10-03)\Install.exeCode: Select all
F:\XY.Test\Test\PDF\v3\v3.64 (2010-12-10)\Install.exe F:\XY.Test\Test\PDF\v3\v3.64 (2010-12-10) <DIR> F:\XY.Test\Test\PDF\v3 <DIR>
What are your thoughts? (if I'm in the wrong spot I'll delete and re-post elsewhere)
-
admin
- Site Admin
- Posts: 65174
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Mini Tree activation
Zardoz2293,
1. No, but I could add a command to reverse the current sort order (whatever it is). Would that help?
2. Don't understand.
1. No, but I could add a command to reverse the current sort order (whatever it is). Would that help?
2. Don't understand.
FAQ | XY News RSS | XY X
-
Zardoz2293
- Posts: 594
- Joined: 09 Nov 2011 20:20
- Location: USA
Re: Mini Tree activation
Yes, it would be helpful with some cases as the order is perfect in reverse order.admin wrote:1. No, but I could add a command to reverse the current sort order (whatever it is). Would that help?
I'll create another thread as it has nothing to do with Mini Tree activation. http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=7568admin wrote:2. Don't understand.
Thanks Don!
Last edited by Zardoz2293 on 31 Jan 2012 14:27, edited 1 time in total.
Re: Mini Tree activation
Code: Select all
v10.80.0102 - 2012-01-31 12:41
Example:
echo get("#489", "Mini Tree", "Maxi Tree");Code: Select all
"MiniTree: Load : minitreeload"
loadtree "", 3;
#1040; // optimize tree
"MiniTree: Toggle : minitreetoggle"
#489; // toggle minitree
#1040; // optimize tree
"MiniTree: On : minitreeon"
if (get("#489")==0) {#489;}; // toggle if minitree off
#1040; // optimize tree
"MiniTree: Off : minitreeoff"
if (get("#489")==1) {#489;}; // toggle if minitree on
#1040; // optimize treeWin 10 Pro 64bit
-
abercrombie
- Posts: 2
- Joined: 27 Apr 2012 05:44
- Location: New York
- Contact:
Re: Mini Tree activation
Thanks for your reply. I have activated it .serendipity wrote:Toggle IS the way to activate/deactivate it.Borut wrote:Is there a way to explicitly activate or deactivate MiniTree? I have found just a way to toggle.
Please have mercy if the answer was obvious and I overlooked it.
XYplorer Beta Club