how to read a JSON for editing/saving/experiencing in a Max patch

prko's icon

Dear users,

I have a main patch in a folder.
I also have many other patches in the same folder.
I would like to open/save a test-maxpatch within the main patch.
If I use the name of other patch as an object (abstract), I have to reopen this abstract, in order to edit it.

It is very inconvenient.
So I have just tested with opendialog JSON.
In this case, I have to select a file each time.

How can I open another patch within a patch?

Best,
pkro

ch's icon

In your main patch, right-click on the subpatch you want to open. select 'Object'-> 'open original "yourPatchName"'.

Is that what you're looking for?
Ch.

prko's icon

thank you,
I have got the solution:

load filename (message)
pcontrol (object)

best,
prko