Skip to content

Instantly share code, notes, and snippets.

@Eyliess
Last active December 29, 2023 16:56
Show Gist options
  • Save Eyliess/8dafbb59985c9dea05e874f22b32bc7f to your computer and use it in GitHub Desktop.
Save Eyliess/8dafbb59985c9dea05e874f22b32bc7f to your computer and use it in GitHub Desktop.
Reload the currently active Reaper Project
path=""
project, path=reaper.EnumProjects(-1, path)
if path == "" then
return
end
-- Close the current project tab
reaper.Main_OnCommand(40860, 0)
-- Reopen the closed project
reaper.Main_openProject(path)
@Eyliess
Copy link
Author

Eyliess commented Dec 29, 2023

Couldn't find a good, built-in, way to do this.
You can pop this into your actions as a lua script and assign it to a hotkey and it should work nicely.

(Don't bully my project layout)

Screen.Recording.2023-12-29.at.17.48.55.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment