Finding external path

babazaroni's icon

Hello,

From within my external, I'd like to find the path to where it was loaded from. I have some additional resources to load or execute.

Is there a way to locate this path in Max 4?

--Chuck

Peter Castine's icon

On Mac OS, an .mxo is a Bundle. So you can include your add'l resources inside the bundle and use the Mac OS API to locate them.

On Windows... I dunno. But since you don't tell us, I dunno either.

bltzr's icon

Hi!

I came across this answer and it took me some time to figure how to do this, which I have documented here in case any one else has the same problem in the future.