track_set_folder
Set a track's folder state in REAPER using its index and a depth value. Mark tracks as normal, folder parent, or last in folder to organize the session.
Instructions
Set folder state. 0=normal, 1=folder parent, -1=last in folder.
Args: track_index: 0-based track index. folder_depth: Folder depth value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| folder_depth | Yes |