'Folder' order of operations

Jan 18, 2009 at 7:14am

'Folder' order of operations

Sorry if this one has been mentioned before, or if its a legacy thing I’ve never noticed. The folder object’s left outlet fires before the right one.

Has this always been the case? I have a patching situation where it would be preferable to receive the number of files in the folder before the contents are dumped out.

– Pasted Max Patch, click to expand. –
Jan 18, 2009 at 12:52pm

Yep, always been like that, as long as there’s been two outlets.

Consider that the object may not even know how many files there are until it’s iterated through the lot.

Jan 18, 2009 at 5:55pm

Good to know. I solved the problem by having folder input all of the filenames into a coll, and then once the total is output sending a dump message to the coll.

Jan 22, 2009 at 11:08pm

Jan 22, 2009 at 11:29pm

On Jan 22, 2009, at 3:08 PM, Stefan Tiedje wrote:

> with a simple trigger and an int you wouldn’t need a coll:

A simple trigger and int manage to recreate the output of folder
perfectly. :-)

That wasn’t what the original poster was after, though. The coll
solution mentioned earlier might be the best approach, but it could
also be approached with cascaded folder objects.

– Pasted Max Patch, click to expand. –

Chris Muir



You must be logged in to reply to this topic.