File Storage

kelsmusic's icon

I'm in need of a little help,

I've made a patch where I'm recording and saving audio samples but I want
the samples to be saved in the same folder that I have the patch in, not
in the default folder where the Max/MSP icon is. How can I make it so.

Thanks,

Kel

jml's icon

2 ways:
1. filepath's default path can be set.
2. use opendialog to find the path or manually type it in as an argument to your write/open message.

jl

Matthew Aidekman's icon

I could have sworn there was this huge thread about the path of the
max folder (or your applications folder) and If I recall correctly,
it wasn't solved. I hacked this together, it works for me. it needs
jasch's objects, and the shell object

heres to hoping I help someone, bottoms up.

Max Patch
Copy patch and select New From Clipboard in Max.

jml's icon

well, it's a nice hack;
but not cross-platform :)

if you aren't into the filepath thing, you could just include the path in your write message.
here's the way i do it:

Max Patch
Copy patch and select New From Clipboard in Max.

jl