Object that opens another .maxpat file?

Zonaverdi's icon

Hi there,

This is something I've been experimenting with for a couple of days, to no avail. Again, I've done a lot of googling and looked through the tutorials, but without success.

Is there ANY way at all to trigger Max to open another .maxpat file, whilst you're in a patch that's already open? That is to say, I want to get to the end of a sequence of audio triggers, then using a MIDI signal, open another patch (but NOT a subpatch) once that sequence has played out.

Is this an odd concept? Is it possible?

Would be much obliged for any suggestions.

brendan mccloskey's icon

Hi
Look at the helpfile for [bpatcher] object

pdelges's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Something like this maybe:

Floating Point's icon

or:

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

pdelges's icon

@Terry: or what? You copied my patch! ;-)

Floating Point's icon

whoops!

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

-- using message to max, but you need to close the file via a message to max too, otherwise the reference (foo) argument persists and you can't re-open.

pdelges's icon

Thanks Terry! Now I know a new way to crash Max6:
open a patch with the openfile message to Max,
then close it by clicking in the close button in the window bar,
and sending the closefile message.

Max 6.0.8, X.6.8

Floating Point's icon

lets just pretend I never posted in this thread, shall we?