Max Object creation?

Apr 7, 2006 at 3:26pm

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

#25288
Apr 7, 2006 at 3:51pm

did you look at the tutorials at all ? (with the explanation in the
docs..)
tutorial 27 for example ??

——————————————-

Joost Rekveld
———– http://www.lumen.nu/rekveld

——————————————-

“The mystery of the world is the visible, not the invisible”
(Oscar Wilde)

——————————————-

#74330
Apr 7, 2006 at 4:22pm

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.

#74331
Apr 7, 2006 at 4:49pm

aha,
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 ?

ciao,

Joost.

——————————————-

Joost Rekveld
———– http://www.lumen.nu/rekveld

——————————————-

“Politicians should read science fiction,
not westerns and detective stories.”
(Arthur C. Clarke)

——————————————-

#74332
Apr 7, 2006 at 5:12pm

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

#74333
Apr 7, 2006 at 6:01pm

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
Java).

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?

– P.

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter

iCE: Sequencing, Recording & |home | chez nous|
Interface Building for |bei uns | i nostri|
Max/MSP Extremely cool http://www.castine.de

http://www.dspaudio.com/

#74334
Apr 8, 2006 at 6:38am

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
abstraction…

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…

Stefan

#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;
#N thispatcher;
#Q end;
#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;

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09

#74335

You must be logged in to reply to this topic.