[REAPDOCK-Python-] -003- Essential for recording! ReaScript that does a 10 minute job in 2 seconds!!
All postsREAPDOCK👇Add "_ng" to all selected media names
[ Python ]REAPDOCK/APIDOCK documentation update notification
Good evening.
This is Nakajima from AZSTOKE Co., Ltd.
Today is the weekly document update Friday (Python). This time, it's a script that adds "_ng" to the names of all selected media (waveforms) .
When recording, if you determine that the recording is different, you should immediately mark it with a name or something.
At that time, I wanted to be able to add text instantly.
This script will give you a name at that moment.
We tend to do tasks that can be done in 5 or 10 minutes manually, but if you do them repeatedly, it no longer takes 5 minutes, and this becomes a major problem that eats into your daily time.
By mechanizing these processes, it frees up more time for creativity, and is a document that will serve as a resource for many sound developers.
□For detailed documentation on how to generate ReaScript, see 👇
Add "_ng" to the name of all selected media
By using BRONZE's API, you can achieve this with just a few lines of code!
Next episode 3/6
[LUA] Output all file names and frame numbers of a specified track to the console : Lua version
LINK
New to Reaper/those considering subscribing to a plan
Complete Guide to Reaper - From Installing Reaper to Creating Reascript -
For detailed documentation of [REAPDOCK]Script, see below.
[ REAPDOCK table of contents page ]
Add "_ng" to the name of all selected media
>Reference materials
[APIDOCK] See below for the APIs used in the script
[ APIDOCK table of contents page ]
reaper.AZ_GetSelectedMediaTypeCount
> Count of all selected media (including format specification)
reaper.AZ_GetSelectedMediaName
> Get the media name for the specified selected media ID
reaper.AZ_SetSelectedMediaName
> Set the media name for the specified selected media


