ReaScripts: Advanced Renamers (Items-Takes, Tracks, Markers, Regions)


The following scripts are meant to quickly rename various kind of REAPER elements.

With this system, with one single line of input, you can add prefix and suffix, but you also have access to a large access of wildcards (values that will be replaced with specific elements values (like the volume for items).

The most advanced feature is the counter system: you can have several sets of counters, linked together. This feature was meant for samples pack naming. More details below.

The items version of this scripts was sponsored by Soundiron. Thanks!

Pack Content

  • X-Raym_Rename regions in time selection or current region with patterns.lua
  • X-Raym_Rename markers in time selection or at edit cursor position with patterns.lua
  • X-Raym_Rename selected items with patterns.lua
  • X-Raym_Rename selected tracks with patterns.lua


Items versions

Items version is very useful for virtual instrument designers. It works on selected items active take.

Regions version

Regions version works with time selection.

Markers version

Marker version.

Tracks version

Tracks naming with two digits counter.


The scripts works by detecting patterns separated by a separator characters chosen right in the user input window (usually, _). Words followed by =*number* like word=1 create a counter. When the ending number is reached during the count, it will cause the previous counter on the left to increment by 1.

Here are some common cases. Only symbols and wildcards have to match.





Simple Counter


Offset Counter


Reverse Counter


Multiple Counters


Leading Zeros Counters


Unnamed Counters




The following wildcards are common to all scripts in this pack:

  • $name = insert the current element name.
  • $number = insert the sequential number from selection order
  • $project = the name of the project file, without the .rpp extension.
  • $bpm = the rounded bpm of the project
  • $blank = extra blank line if needed
  • !_ and ! = these are deleted. it can be used for deleting sep characters or creating unnamed counters


The item version as few more wildcards:

  • $itemnumber = insert the sequential number of the item on its track
  • $track = insert the track name that the item is on
  • $tracknumber = insert the track number that the item is on, starting from 1 (the top track)
  • $parenttrack = the name of the parent track that the item’s track is foldered under.
  • $marker = comma separated list of markers names for markers inside the item edges
  • $region = last region from item pos if item pos is inside it (aka, current region from item position)
  • $notes = item notes

Items order

There is several ways to determine items order for your counters:

  • time = uses absolute timeline position across all tracks. If two items start at the same time, the item on the higher track (lower track number) comes first.
  • track = counts all items on a single track, then restarts all counters when it moves to items on the next track
  • wrap = counts all items on a single track from left to right, then continues the count where it left off at the beginning of the next track


Here is a complex case, with one word, three named counters, limits, reverse and leading zeros.


will output:


You can mod this script by duplicating and renaming it.

Then, edit the the user config area in the top of the file. Here are easily customizable value:

The items active take version has few more options:

Feature Requests

Miss a wildcard? Let me know!


After purchase, installation instructions will be provided here and on the dedicated Purchase Confirmation page. License are valid lifetime. You will be able to enjoy updates and new scripts added to the pack.


By purchasing this product, you are supporting my free scripting. Thanks!

Thanks to Nofish for having set SWS Loudness functions available from ReaScripts!



  • for individuals or students

  • For pros and small business companies

  • For a team of more than 5 people

Add to Cart