Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Directory Node Folder Count & Names

Post requests for new features to this forum group. Any suggestion to expand the possibilities of Ventuz are welcome.

Moderator: Support

Post Reply
User avatar
Naggar
Posts: 178
Joined: 22 Dec 2016, 14:02
Location: Dubai, United Arab Emirates

Directory Node Folder Count & Names

Post by Naggar » 14 Nov 2018, 13:15

Hello

I'd like to request an update on the Directory node..
if possible,in addition to file count, could we get folder count and/or folder names Array?

Thanks

User avatar
Naggar
Posts: 178
Joined: 22 Dec 2016, 14:02
Location: Dubai, United Arab Emirates

Re: Directory Node Folder Count & Names

Post by Naggar » 14 Nov 2018, 13:17

or if it is possible to search for Folders through the search pattern property, that would be a nice workaround.

joschy
Posts: 142
Joined: 19 Jan 2012, 07:39
Location: Düsseldorf, Germany
Contact:

Re: Directory Node Folder Count & Names

Post by joschy » 16 Nov 2018, 14:45

you can do it by your own with scripting check C# Directory.GetDirectories.
There are many example codes on the internet ;)
3DJo - [Ventuz] freelancer and trainer

User avatar
Naggar
Posts: 178
Joined: 22 Dec 2016, 14:02
Location: Dubai, United Arab Emirates

Re: Directory Node Folder Count & Names

Post by Naggar » 06 Dec 2018, 11:42

yeah that we ended up doing.. but again, im not really good with codes and scripts. so I had to get a programmer to do it for me...
Thanks though :)

User avatar
Eric_RD
Posts: 103
Joined: 04 Jun 2014, 14:01
Contact:

Re: Directory Node Folder Count & Names

Post by Eric_RD » 23 Dec 2018, 15:35

It is even possible with a String Expression...
I think it might already be in the forum...

Pros for String Expression:
no compiling on startup needed

Cons for string expression:
No async functionality

Remember to always write the full class names in Expressions (System.IO.Directory.GetDirectories...)

chriss0212
Posts: 666
Joined: 18 Jan 2012, 20:56
Location: wuppertal
Contact:

Re: Directory Node Folder Count & Names

Post by chriss0212 » 23 Dec 2018, 18:01

Because i am also not the best scripter on earth i tried a little workaround ;)

You "just" need to copy a file with the same name into every sub directory in the tree... in my case i used dummie.txt. at the end you will get all sub directories as an array.

No scripting, no async problem... as long as the dir node has no async bug ;)

Greetings

Christian
Attachments
GetFolders.vzs
(7.57 KiB) Downloaded 166 times

Post Reply