top of page

4

Beginner

AZSTOKe_sample_for_loop

Run loop for number of selected media

RANK

function Msg(param)

    reaper.ShowConsoleMsg(tostring(param).."\n")

end

count = 5

for i = 1, count do

    Msg(i)

end

function Msg(param)

reaper.ShowConsoleMsg(tostring(param).."\n")

end


  • Set Msg console output function


count = 5


  • Specify count number as 5


for i = 1, count do


  • Set loops from 1 to 5 using ForLoop


Msg(i)


  • Output count ID to console


end


  • ForLoop processing completed


To use the API, you need to sign up for a plan.

Download the dedicated API

need to do it.

*SILVER is scheduled to be released in May.

No preparation required

- Script Code -
- Script Image -
- Warm Up -
- Script Detail -
- API -

LUA

​ReaScript File Download 👇

* A dedicated API is required to run this

- Script Image -
bottom of page