Forums > Jitter

passing file name to

Jun 02 2010 | 12:58 pm

I think this is simple, I am building this movie playlist based on someone’s post, now I need to pass the clicked file name to the but it gives an error saying that couldn’t find the file, can someone help me please???

thanks in advance

— Pasted Max Patch, click to expand. —
Jun 02 2010 | 2:22 pm

Problem is likely your pathnames. If you hook a dropzone to [prepend read] to [] you’ll see it passes along the absolute file name. Unless the folder you are dropping is already in the Max search path, it won’t see it if you only pass the file name.

Look in the sprintf help file and double click p More-Examples, you’ll see an example for how to reconnect the file path back on to a filename.

Jun 03 2010 | 9:51 am

Thanks, the sprintf object solved my problem. Perhaps this can be optimized, but here’s the patch, might me useful for someone.

— Pasted Max Patch, click to expand. —
Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Jitter