order of object creation??
I was wondering if there is a way to know the order of object creation at loadtime.
I would like to catch error messages at startup with [error] (in order to switch automatically between different externals in case one is not installed), but my "bogus" objects get loaded before the [error] is initialized (I think).
I have a feeling that this isn’t possible, but thought that asking wouldn’t hurt.
from low level to high level, from left to right, from bottom to top.
Maybe I am misunderstanding, but I can’t get this to work.
Here is a quick example of what I am trying to do:
----------begin_max5_patcher---------- 675.3ocwW0zbaBCD8L9WwVtzKoYPxfwja8Xtz+.Y7zQF1fUKHwHIF6jL4+dE BbhSiMF+Qo9.ZzZIsu8omdBdYhm+R4FT6C2AO.dduLwyyEpIfWWeO+R1lzBl 1MLeAtVt7W92z9WFbiwEtRwEF3Ku+a6HdTJLZ9yXynHA2FzEVTWxEEnwsnjt fULS5JtH+mJL0zBpoT6TfoggMMyl17jL+1.XQ2T3Ytzagz2HS2MmBVoKm9eW wYE9umVYsYadCZB95jIMOt4xpeMV.jsQaSg4oJrsH7WxD492.99ug6gPKziR KjHWC81ndnExoRKzyfVRkkknv7IdY8JT.2CoJjYPfAOrTlWqW.VjYKFf8nAU f1vTl5Jfaf0R0u0.SC3lJ6.vrsqXAWfoxZgYWl4REWINYEIpsYVRSCMY+7Xx XntNDMxLuQR2C4nk3D.pTREThZMKGAt.LqPvtZvZtHStFVVafGbCZAv0huZ. EVIUFKGXm9SlFx3eJ6FSbzpap.MXder6r+imccRxSwuJnmhlzVlNE0z485WQ GiZ1HyyKvC5Lwa1xWbVlxzjtM1sO2WQFu+Jgb818LPAr7f0Wiqqy88jbdOZs SRhOtyazXX71c9+SzRq6PKmcG3j32A+PB55zUctuGlztVWSE2JT5NGz4GLa+ rU3oxVWQMzyEf04shovdERW4quosuOSTRetDzwPDc.ZoUCQtR5jienJ14ZFF zqq4kHSbKn6xt+5cdcXpI9GIIsrVktsZ6xN7NrxPs81TlgKE6LlnOLlU7rLT r6sFk7rJo02sCBgDmGRhSErSGXwd2HGJRaPA4HHM7zPZj6sMoT2w34Nj55bg HMb.bJ8CUyQQ5Uf6FBhBFMDQG.hhGUDEO.DQHiJjHC4zYyWId1Xx140I+AfN Cy3d -----------end_max5_patcher-----------
i dont think anything can output errors before the patch has finished loading.
In one of my apps, I implemented an abstraction which is able to switch between elasticindex~ and index~ (in case the external can’t be loaded).
have no max here, but remember that I used jscript for that, works without problems. could send you the stuff tonight
If you want your patch to work on different Max installations and guarantee that non-factory externals are available, you might want to build a Collective or Standalone.
I personally find this more straight-forward and robust than hacking JScript. The latter is obviously possible, and the choice is partly a matter of taste.
Just an idea for your consideration.
makes definitely sense, in fact, my app is deployed as a collective. Unfortunately, elasticindex~ is not free and therefore can’t be included.
All other non-factory externals are included of course.
This was a badly thought through idea to start with. Sorry.
The workarounds are obvious and simple enough. thanks for the responses though. appreciated.
Forums > MaxMSP