Audio file search path from java

d_h_benson's icon

Hi there,

Does anyone know how to access the Max search path (i.e., the places where Max will look for audio files) from within a java external?

I've tried MaxSystem.getSearchPath(), but this only returns subfolders of the application folder (/Applications/Max5/...). It doesn't give me the home folder of my patch, or other paths set under Options->File preferences, which are what I'm looking for.

Any ideas?

Thanks,

D