Forums > MaxMSP

How-to script Modify Read-Only ?

January 11, 2013 | 10:36 am

Hi gang,

A little description on my problem : I have some bpatchers inside poly~ objects. If I need to modify a bpatcher, I have to :

- double click on poly~ object
- press alt-cmd-m to modify read only
- press cmd-e to enter edit mode
- right-click on bpatcher object, and select "New View of blabla"
- press alt-cmd-m to modify read only
- press cmd-e to enter edit mode
- press cmd-alt-e to exit presentation mode
- tada !!!

Maybe I’m kind of lazy, but it’s but… boring every time ;)
That’s why I’m looking for a way to script all this procedure.
With Javascript, Patcher Object seems to have just a "locked" propertie, and no "Modify Read-Only". How to access to this functionality ?
Is there a way ? An hidden method/message/propertie ?!

Thanks !
_TG


January 11, 2013 | 6:58 pm

If you’re using Max 6, right click on the bpatcher (or an abstraction as well) and goto Object > Open Original. This will open the original patch and allow you to edit it. It may not be a fancy script, but I’ve found it much easier.

GW


January 12, 2013 | 10:49 am

Yep, by scripting, it is possible to find the name of the bpatcher/abstraction, and open the original .maxpat file.
But I don’t want to edit the original bpatch (or abstraction)… It’s a part of a debug workflow, I want to edit a new view of the bpatch/abstraction !
And to script it… ;)


Viewing 3 posts - 1 through 3 (of 3 total)