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

  1. Start from the Rename and recolor clip template (Templates on the toolbar) or build your own graph with an On MIDI Clip trigger.
  2. Wire trigger Run → Transaction Run so both changes undo together.
  3. Wire Transaction Body → your first setter (name or color).
  4. Wire trigger target into the clip input on each set name and set color node.
  5. For name, type the default in the node setting or wire text from a dialog.
  6. 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 raw 0xRRGGBB integer such as 16711680 still work.)
  7. Chain both setters inside the Transaction body (name then color, or the reverse).
  8. Set Extension name and Author, then Build & Run.
  9. 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

See also