Skip to content

Instantly share code, notes, and snippets.

@X-Raym
Created April 30, 2020 12:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save X-Raym/1c4ae40c7f18c5a5dbe4e1fbeb4a2d0d to your computer and use it in GitHub Desktop.
Save X-Raym/1c4ae40c7f18c5a5dbe4e1fbeb4a2d0d to your computer and use it in GitHub Desktop.
resolve = Resolve()
pm = resolve:GetProjectManager()
proj = pm:GetCurrentProject()
tl = proj:GetCurrentTimeline()
items = tl:GetItemsInTrack("subtitle", 1)
for i, v in ipairs( items ) do
print( v:GetName() )
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment