↓
This REAPER Lua script allows you to extend or shorten the length of regions within the currently selected time range by a user-specified number of seconds.
It is especially useful for batch editing multiple regions without manually adjusting each one.
- Simple GUI input to enter the number of seconds (positive to extend, negative to shorten)
- Only affects regions entirely within the current time selection
- Automatically skips regions that would become zero or negative in length
- Select a time range in REAPER where the target regions are located.
- Run the script.
- Enter the number of seconds to extend or shorten.
- The script adjusts the length of all regions within the selected time range accordingly.
This repository contains a Lua script for REAPER.
You can install it manually by following the steps below.
*This script is not currently distributed through ReaPack.
-
Download the Lua file
- Click on the
EditRegionLength.luafile in this repository. - Download raw file.
- Click on the
-
Move the file to REAPER's Scripts folder
- In REAPER, go to
Options > Show REAPER resource path in explorer/finder. - This will open the REAPER resource directory.
- Inside this folder, open the
Scriptsfolder (create it if it doesn't exist). - Move the downloaded
.luafile into thisScriptsfolder.
- In REAPER, go to
-
Load the script into REAPER
- In REAPER, go to
Actions > Show action list. - Click the
ReaScripttab. - Click the
Load...button. - Navigate to the
Scriptsfolder and select theEditRegionLength.luafile. - Click
Open.
- In REAPER, go to
-
Run the script
- Once loaded, you will see the script in the Action List.
- Select it and click
Run, or assign it to a shortcut key.
This script is provided as-is without any warranty.
Use it at your own risk. Always make a backup of your REAPER project before running scripts that modify project data.

