Macros to Increase or Decrease values in Ableton Live 12.2
Hello there,
I'm trying to set up some macros for some basic clip operations I tend to use often. One thing I'd love to set up is some macros to increase or decrease the loop position / length / start points for a given clip.
I'm hoping there is a relatively simple way to script this behavior to read the current value of a field and then add or subtract? My hope is to set this up and then tweak to apply the same script to different parameters.
(Will probably be useful for other applications beyond loop points as well!)

- Chad Wahlbrink @Chad2025-05-27 23:21:38.423Z
Hi, @wolaud,
Thanks for another great question!
The simplest way to increase the value of a slider like this is to use the "Click UI Element" macro action.
- Use the "pick" button to select a UI Element in Ableton
- Click the gear icon for "Advanced Properties."
- Change "AXPress" to "AXIncrement."
It'd be important also to make sure that the Clip Properties are shown by using the "Focus View of MIDI Clip Properties and Tools" action before the AXIncrement action, like this:
Alternatively, you could accomplish this with a script with something like this:
let currentLoopEnd = sf.app.abletonLive.song.view.detailClip.loopEnd.invalidate().floatValue; sf.app.abletonLive.song.view.detailClip.loopEnd.setValue({ value: currentLoopEnd + 1.0 });
I go over all of this in this video:
- W
Chad Wahlbrink @Chad2025-05-28 18:55:10.857Z
No problem! Keep the questions coming as you have them!