The scripting function works very well, for all objects! Great tip, thanks!
But when setting up a new patch tonight with [spat5.hoa,encoder~] it crashes Max. Played around with this a few days ago with the encoder and it worked fine.
----------begin_max5_patcher----------
641.3ocsU0zaaCCC8r8uBA00adA9i3Xm0K4POOfcdnHPwVMQE1RFRxYYnn62
9jnrcSmcyGsXH.NfzTj583izO66g2HNPUXz2P+D448rumG3x5vqy1CWSNTTQ
TPXXda8FpDG3dknUWQ05e2Pc4.iCP3MD9VL5gtPZH5hcL910RZg1EUT3x7Yg
An3nL6eogfQ7rvgCYpBiaxLTynNmrR3FH17zWiwCYWRpoZpbMkS1TAWivWSh
69AYI157Eee6ifKDr0Tkhrk1WLM8.f.LkWHJM0TUHYMZzWhde93z7PdL.8kK
lkFXLmeZhHdLQjjgmDsQe.zxo+xjxQfU0HYb8inNvJoMUjBJ5VExb.5ATn4W
bXHJJFoLfLc1NAYVGC8GzJFuoUqP2VhVIjFWnTzpRVMkqXBNJ4dzp5Bz.AVw
3zBQKWeLd+XrZRbhkUmGkBVoWCql+emU06XJ3xelgoSC0nbXPZdHf3EYW8fT
zxoQZOonH66uM27c684M2aD9N6ia9g8IkW57fd3SSS6IRtYtdhgsIjmuqlKJ
7hzbi3851JMqXGgyoUJ1VNo5rchzrDPkszI1Vjb0chrzy2IJWahzTy0DsVx1
zpc6t8F3zoWHBxVau33LMjhSjr8jpVp3wd289OtJL9dlh0WnfwATI3aG5kia
V3INhZmPpuxyz29RbuBTe8+0IEgVArg4e9hGzOs9eq9TIZkE8Zhtu5fdsgVR
UZFmnMRpihwtP1Fzji.WZgr6eNakrite9JkcIXJeTkbbIooYOUp5hFJhYp9I
gzZlG.lLtyDzFXI0JWbwCemFSjlYIsQT2Jc86CKlicG01r4srNILnewvFCq1
vHKbHAVr3+h+e06WqLG
-----------end_max5_patcher-----------