top of page
- API -

dofile(reaper.AZ_GetLuaInitPath())


allCount,_ = reaper.AZ_GetTrackMediaTypeCount(0,1,"")


for i = 0,allCount-1 do

name = reaper.AZ_GetTrackMediaName(0,1,i)

frame = reaper.AZ_GetTrackMediaStartTimeFrame(0,1,i)

Msg(frame..":"..name)

end

- API Detail-

  1. Multiple media in a project

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())


allCount,reaper.AZ_GetTrackMediaTypeCount(0,1,"")

  • Get the number of all media in the specified track (allCount)



for i = 0,allCount-1 do

  • Loop from 0 to the variable (allCount-1)

name = reaper.AZ_GetTrackMediaName(0,1,i)

  • Save the specified media name in the specified track in variable (i) to variable (name)

frame = reaper.AZ_GetTrackMediaStartTimeFrame(0,1,i)

  • Save the start frame of the specified media in the specified track in variable (i) to variable (frame).

Msg(frame..":"..name)

  • The number of frames (frame):media name (name) are output to the console screen in this order.

end

- SCRIPT -

Media

AZSTOKE_TrackAllMediaNameAndFrameConsol

Print all file names and frame numbers for the specified track to the console

01_BRONZE_ss_edited.png
01_SILVER_edited_edited.png
03_GOLD_edited_edited.png
bottom of page