Loop Point Automation

There’s a tool that does what you need.