Max Object creation?
Hey all. I’ve made a simple little object in MaxMSP but don’t know how to close it so that it can’t be opened when you create it as an object in a new patch, basically I want my object to function in the same way that a standard object does. I figured it might be something to do with the ‘this patcher’ object but I can’t for the life of me figure it out. I’m sure its a simple bit of coding but as they say they’re only easy if you know the answers. If someone can help me I’ll post the object up so that you can tell me if someone has made one before (which they probably have).. thanks
did you look at the tutorials at all ? (with the explanation in the
tutorial 27 for example ??
"The mystery of the world is the visible, not the invisible"
Yeah I’ve looked at that patch.. I’ve got my object working in new patches and I’ve been able to create a help file but the tutorial 27 doesn’t tell you how to close your objects so that people can’t click on them and have them open as if they were a sub patch.
got confused by the subjectline of your email there, and missed a
couple of "n’t" because of reading too quickly.
can’t answer your question, but why not hide the object you don’t want
people to open ?
"Politicians should read science fiction,
not westerns and detective stories."
(Arthur C. Clarke)
thats not really what I want to do.. If I figure it out I’ll let you know how since it seems pretty vital to me.
thanks for tryin though
Abstractions (patches that function as objects) are openable. If you
want a non-openable object, you will have to write it in C (or maybe
If you’re concerned about "copy protection" or some such, you can
save the window position at some impossible screen cooridinates like
(8000, 8000). But this can be circumvented post facto pretty easily.
What’s the problem with letting people see how the innards work?
————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter
First select all and hide, and place an active object which immediatly
closes the patch after its in front.
But beware, activate that function only after you have finished the
This will not prevent anybody from looking into your patch, you can open
any patch as text and just change the active object into something else.
Then it would be openable again.
trying to open this might drive you crazy…
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 122 157 50 196617 sel 1;
#P newex 122 133 50 196617 active;
#P message 122 184 50 196617 wclose;
#P newobj 122 209 66 196617 thispatcher;
#P connect 2 0 3 0;
#P connect 1 0 0 0;
#P connect 3 0 1 0;
#P window clipboard copycount 4;
   
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09
Forums > MaxMSP