How to send messages to an inlet of a max object with [thispatcher]

zolikov's icon

Hi, I'm trying to send messages to a [pack] object with [thispatcher] (I attached an example patcher) and I get the following error message: 'pack doesn't understand "int" '
I guess I should define the inlet of the [pack], but I don't seem to find how to do it. Is there any way to do it without js?

Max Patch
Copy patch and select New From Clipboard in Max.

Source Audio's icon

use script send instead of script sendbox to pack
sendbox should be used to change color or position etc
but some objects like number accept both, some not, don't ask me why it is so...

zolikov's icon

Brilliant! Thank you.