RPR EnumProjects

From CockosWiki

Jump to: navigation, search

Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR EnumProjects
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR EnumProjects

Contents

EnumProjects()

void* EnumProjects(int idx, char* projfn, int projfnlen)

Enumerates (lists) the currently open projects.

Parameters

int idx, -1 for current project
char* projfn, can be NULL if not interested in filename
int projfnlen

Returns

An array, containing:
 void*
 int idx, 
 char* projfn, 
 int projfnlen

Examples

C++

void LastProjectTab(COMMAND_T*)
{
	int iNumProjects = 0;
	while (EnumProjects(++iNumProjects, NULL, 0));	SelectProjectInstance(Enum_Projects(iNumProjects-1, NULL, 0));
}

Perl

 

Python

 

See Also

project: GetItemProjectContext, GetProjectPath, GetProjectPathEx, GetProjectTimeSignature, GetProjectTimeSignature2, Main_openProject, SelectProjectInstance, SetProjectMarker, SetProjectMarker2, UpdateItemInProject, plugin_getImportableProjectFilterList, projectconfig_var_addr, projectconfig_var_getoffs, AddProjectMarker, DeleteProjectMarker, EnumProjectMarkers, EnumProjectMarkers2, EnumProjects,

(Section automatically generated, edits may be overwritten.)

Stuff

Main Page > REAPER Documentation > ReaScript > ReaScript API, Functions > RPR EnumProjects
Main Page > REAPER Documentation > REAPER API > REAPER API Functions > RPR EnumProjects

Personal tools