passing file name to jit.qt.movie

Jun 2, 2010 at 12:58pm

passing file name to jit.qt.movie

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 jit.qt.movie 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. –
#50686
Jun 2, 2010 at 2:22pm

Problem is likely your pathnames. If you hook a dropzone to [prepend read] to [jit.qt.movie] 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.

#181824
Jun 3, 2010 at 9:51am

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. –
#181825

You must be logged in to reply to this topic.