Thread: ReaLauncher
View Single Post
Old 08-04-2019, 12:15 PM   #236
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,857
Default

Quote:
Originally Posted by _Stevie_ View Post
@Solger, I noticed that ReaLauncher closes just after a project has been loaded. How did you achieve that? Is there a way to get a project loading state from the API?
I'm checking the state of the 'keep open' checkbox. If it's unchecked, gfx.quit() is called after the 'load project' action.

So basically these two lines are called back-to-back:
Code:
reaper.Main_openProject(name)
gfx.quit()
__________________
ReaLauncher

Last edited by solger; 08-04-2019 at 12:27 PM.
solger is offline   Reply With Quote