Max4Live: How to mute/activate a selected track and record/play a clip?

Benson's icon

I want to have 2 max4live sequences that control some functions in Ableton's clip view:

1. One that cycles between muting and activating the track that is selected

2. One that starts recording in whichever clip slot is selected or plays the audio clip in a slot, if there's already a clip in there. All tracks will be armed to record beforehand.

Here's what I've got so far:

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

Thanks a milllion for any help

Evan's icon

I would use the 'live_set view' path to easily look at the selected track and clip_slot.

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

You actually don't need to check if there is a clip. If there is the 'fire' call will launch the clip, if no clip it will either stop, or record if the track is armed.