I want to access files in folders

May 15, 2011 at 1:05am

I want to access files in folders

But I don’t want to change global file preferences. I searched the docs and couldn’t find it. I think I’ve done it before…but I could be 100% wrong.

Can you ever be less than 100% wrong, when wrong?

#57135
May 15, 2011 at 8:16am

It depends a bit on the context, anyway objects you should look at are
umenu
folder
filepath
The latter allows you to temporarily add a path to the search paths.

#204638
May 15, 2011 at 1:42pm

awesome! I’ll check out filepath that sounds like it might do the trick. I’m using umenu already….wait I’m remembering something…

if umenu outputs the .user/movies/pg…etc can’t jit.qt.mov understand that? I tried to prepend read but it didn’t work.

thanks for your help!

#204639
May 15, 2011 at 2:32pm

If you want to access anything outside of the search path, it’s a good idea to use absolute paths.

And if there’s a space in the path you need to use tosymbol and then prepend read.

#204640
May 15, 2011 at 4:40pm

thanks so much!!

one (id like to think last) question. If I have a patch and a sound file in the same directory, using sfplay~, I should just be able to enter the file name of the sound file, right? I have other patches, and have for all my uses of Max done this. Now it’s not working. Why would that be?

New to Max5 and hoping it’s a quirk or change

#204641
May 16, 2011 at 9:08pm

Yes that should work, but there can be some funny things going on if the file wasn’t there yet when you opened the patch (this is the case with loading subpatches in bpatchers too).

Closing Max and then reopening the patch fixes this.

#204642

You must be logged in to reply to this topic.