Accessing object value in js


    Sep 18 2018 | 7:09 pm
    Hello, is there a way to access an object value? For example, is there a way to dump informations about an object referred by a js variable directly in js. To my knowledge it's only possible to send messages to objects and change attribute, but I don't if possible to expose the actual value of the object to js. Thanks

    • Sep 28 2018 | 11:17 pm
      Do you mean, like printing to the console? If so, check out the `post` method:
      https://docs.cycling74.com/max7/vignettes/jsglobal
    • Sep 29 2018 | 2:52 pm
      Hi, no I'm trying to get the value of a max object, for example a number box or a function, directly inside js in order to avoid to send the value from max to the js object. A sort of obj.getattr() method, but for getting the value. Thanks
    • Sep 29 2018 | 3:04 pm
      Something like the methods of Maxobj .set() and .message() but to get the value.
    • Mar 31 2019 | 8:35 pm
      very curious to know if anyone's solved this!