I replied to your other post but I'll mention it here as well.
There's more in
https://forum.cockos.com/showthread.php?t=202734 but essentially...
Code:
-- the only way to get info from the OSC input trigger... ugh, ugh, ugh...
-- but it works more or less
local tkNo = name:match([[toggleTrackEnable(%d*)%.lua$]])
if (tkNo == nil) then
return
end