I have this issue.
Im trying to disconnect a component on the launchpad using "call set_launch_button id 0". It works if i bang it or open the device (with a live.thisdevice in it). But it does not work on set startup. I tried everything but i have to open the device in order to execute. I try it on Live 8.3 with max 5.1.9 and on Live 9 with Max 6, with the same result.
Try delaying the bang sent by 4n, that way it’ll work when your transport starts….
Is this in session mode that your are attempting it? be aware that many events will flush the launchpad and re-enable the buttons you’ve disabled, from experience you are better off sticking to user 2 mode….