I suppose I could create a list by extracting parts of the file path list, but is there an easier way?
I imagined a 'folders' option in the 'file type' drop down for the file lister object, but that doesn't exist....
get list of sub-folders?
-
woodslanding
- Member
- Posts: 1327
- Contact:
-
woodslanding
- Member
- Posts: 1327
- Contact:
hmmm.... I imagine I could do this in a script. I'll go look for some pascal resources....
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
-
woodslanding
- Member
- Posts: 1327
- Contact:
well it seems like the stock pascal method for this uses types:
pathstr
and
searchrec
which do not seem to be supported.... so nothing direct at the moment. I can extract the parent folder portion of each file. Then I'll have a bunch of duplicate folder names in my stringList. Is there a simple way to remove them??
pathstr
and
searchrec
which do not seem to be supported.... so nothing direct at the moment. I can extract the parent folder portion of each file. Then I'll have a bunch of duplicate folder names in my stringList. Is there a simple way to remove them??
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
-
woodslanding
- Member
- Posts: 1327
- Contact:
TStringlist.setSorted(true) does not seem to be recognized. Theres a method for disallowing duplicates, but the list has to be sorted.....
Maybe I have the syntax wrong....?
Maybe I have the syntax wrong....?
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
-
woodslanding
- Member
- Posts: 1327
- Contact:
well, I haven't found a way yet that will show me empty folders. I'm using the output from the usine module, but it doesn't include folders, so the empty ones are not on the list.
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify
Who is online
Users browsing this forum: No registered users and 27 guests
