top of page
- API -

fullPath,addPath = reaper.AZ_SetProjectPathFolder(folderName,timeAddType)

- API Detail-

▼Input value

folderName(string): Folder name ※Lua can be written in Japanese as is

timeType(integer): 0/not specified, 1/date_time (0000_0000), 2/date_hour_minute_second (0000_000000), 3/year_date_hour_minute_second (00000000_0000)


▼Output value

retval(boolean): Success or failure of API execution

fullPath(string): Path (full)

addPath(string): The name of the added folder

- SCRIPT -

package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"

require("reaper_AZSTOKE_SILVER")


function Msg(param)

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

end


fullPath,addPath = reaper.AZ_SetProjectPathFolder("AZSTOKE",0)

Msg(fullPath)

Msg(addPath)

fullPath,addPath = reaper.AZ_SetProjectPathFolder("AZSTOKE",1)

Msg(fullPath)

Msg(addPath)

fullPath,addPath = reaper.AZ_SetProjectPathFolder("AZSTOKE",2)

Msg(fullPath)

Msg(addPath)

fullPath,addPath = reaper.AZ_SetProjectPathFolder("AZSTOKE",3)

Msg(fullPath)

Msg(addPath)


FILE/FOLDER

AZ_SetProjectPathFolder

Supported versions:

1.0.3

onwards

Adding a folder hierarchy to the project path

bottom of page