How-to script Modify Read-Only ?

Jan 11, 2013 at 10:36am

How-to script Modify Read-Only ?

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

#66010
Jan 11, 2013 at 6:58pm

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

#237672
Jan 12, 2013 at 10:49am

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… ;)

#237673

You must be logged in to reply to this topic.