Forums > MaxMSP

Read the name of a newly added file

Dec 02 2012 | 3:23 am

Hey guys! Working on a project where I need to monitor a folder (via file watch currently) and read the name of the most recently added file. I am then parsing the file name, but have this bit down. I cannot, for the life of me, figure out what to do. Did some searching and wasn’t able to turn anything up. Any help?


Dec 03 2012 | 11:05 pm

I think you can poll a folder with the [metro] and [folder] object. then get the difference between each polls with [zl.filter].
I hope the following sample patch helps you.

-- Pasted Max Patch, click to expand. --

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > MaxMSP