I'd like to have a list of the loaded elements of a branch out of miniTree. How could I achieve that?
(I know, I know - quite a lame question, but I'm not at scritpting as much I once was...)
How to retrieve Branches of a MiniTree?
-
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
How to retrieve Branches of a MiniTree?
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Re: How to retrieve Branches of a MiniTree?
One way:
Code: Select all
$branch = "D:\Users\Highend\Development";
$branch = regexreplace($branch, "([\\.+(){\[^$])", "\$1");
$elements = regexmatches(get("tree", <crlf>), "$branch.*", <crlf>);
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: How to retrieve Branches of a MiniTree?
Awesome! Thanks once again, highend!
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...