Setting objects default attribute
Hi!
Im wondering if its possible to set objects default value from a text editor or something similar. Im mainly interested in giving a default path to a .jsp file for some objects (gain~, scope~, slider etc.) but I havent found how. Normally Id think that Im able to do that with a search and replace, but I cant find where Max stores these values for the default objects, however I can find it for external objects. Im on big Sur and Max 8.1.10.
I was mainly looking at applications/max/contents etc.
Feels like this is a subject that should already been documented or asked somewhere, but I couldnt find it. If thats the case please shoot me with a link! :D
Cheers
Look in the Inspector for the object. You can choose the default path for your .jsp in there:

\M
But there I can set it already once i put the object down no? Meaning the order is, i put the object down and then assign the jsp file. What if I want the jsp file to already be loaded when I put the object down? Sorry if my explaination is a bit messy :D
If you want it to be the default for a new object every time you instantiate one, you need to create a Prototype -- look those up in the reference for details...
\M
You can also do loadbang with coll, or use function loadbang() within a JS object, if you want it in text editor format.