Set clip name and color
Goal: Change a clip’s name and color in one gesture with a single undo in Live.
Time: ~10 minutes
Steps
- Start from the Rename and recolor clip template (Templates on the toolbar) or build your own graph with an On MIDI Clip trigger.
- Wire trigger Run → Transaction Run so both changes undo together.
- Wire Transaction Body → your first setter (name or color).
- Wire trigger target into the clip input on each set name and set color node.
- For name, type the default in the node setting or wire text from a dialog.
- For color, click the color swatch on the node to pick a color, or type a hex code like
#FF0000(red) in the box next to it — the same hex Ableton’s own color editor uses. (Older graphs that stored a raw0xRRGGBBinteger such as16711680still work.) - Chain both setters inside the Transaction body (name then color, or the reverse).
- Set Extension name and Author, then Build & Run.
- In Live, right-click a MIDI clip → Extensions → your command. Press Cmd+Z once — both name and color should revert together.
Expected result
The clip shows your new name and color immediately. One undo in Live restores both the previous name and color.
If something goes wrong
| Problem | What to do |
|---|---|
| Only name or only color changed | Put both setters inside the Transaction body chain, not outside it |
| Wrong color or no color change | Pick from the swatch or type a valid hex code like #FF0000; a typo in the hex box reverts to the last valid color |
| Build error on clip input | Wire target from the trigger into each setter’s clip input |
| Command not on clip menu | Trigger must be On MIDI Clip (or On Audio Clip for audio-only tools) |
| Color resets on undo but name does not | Both setters must share one Transaction — do not split into two undo steps |