06-04-2019, 08:32 AM | #1 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,305
|
API: load project template (DONE)
DONE (REAPER v5.983)
(from here) We can load a project template via Main_openProject() (as a project template is 'just' an .rpp) but it's different to doing it via 'File -> Open project template', because this way Reaper remains in a 'clean' state (as in no 'normal' / non-template project opened), e.g. the default 'Save as..." path is not changed.
__________________
me on Soundcloud (Beats Rap Reggae) Wikiloops - free online jams, check it out my ReaScripts SWS issue tracker Donations Last edited by nofish; 08-29-2019 at 04:37 PM. |
06-04-2019, 09:07 AM | #2 |
Human being with feelings
Join Date: Jan 2013
Posts: 1,192
|
+1
I also think that this is needed.
__________________
REALIVE: a reaper config to use REAPER live: WITH A PDF MANUAL!!! |
06-04-2019, 09:34 AM | #3 |
Human being with feelings
Join Date: Jan 2009
Location: Ontario, Canada
Posts: 1,459
|
+1 - this has been needed for quite a while
__________________
The future ain't what it used to be. Yogi Berra |
06-04-2019, 09:46 AM | #4 |
Human being with feelings
Join Date: Mar 2013
Posts: 5,947
|
+1 for this from me, as well
__________________
ReaLauncher |
07-05-2019, 10:54 AM | #5 |
Human being with feelings
Join Date: Jul 2016
Location: Los Angeles
Posts: 1,725
|
+1. Although workarounds have been attempted for this, no suitable solution exists yet. Sorely needed.
|
08-23-2019, 01:44 PM | #6 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,117
|
Edit: making Main_openProject() support noprompt: and template: prefixes
Last edited by Justin; 08-23-2019 at 09:26 PM. |
08-23-2019, 01:52 PM | #7 |
Human being with feelings
Join Date: Jan 2013
Posts: 1,192
|
Woohoo!!!
__________________
REALIVE: a reaper config to use REAPER live: WITH A PDF MANUAL!!! |
08-24-2019, 02:58 AM | #8 |
Human being with feelings
Join Date: Mar 2013
Posts: 5,947
|
Cool. Thanks Justin.
__________________
ReaLauncher |
06-13-2020, 06:37 AM | #9 |
Human being with feelings
Join Date: May 2020
Posts: 53
|
Please explain how.
Hi, I wanna achieve exactly this.
Can someone please explain how is this written in code, for the noobs? So create a NEW Reascript in .lua-code? Like this: Main_openProject(HARDDRIVE-PATH-TO-MY-TEMPLATEFILE? Or just .RPP file?) No idea at all how to write the following in code: support noprompt: and template: prefixes Thank you |
06-13-2020, 06:52 AM | #10 | |
Human being with feelings
Join Date: Mar 2013
Posts: 5,947
|
Quote:
Code:
reaper.Main_openProject(name) reaper.Main_openProject("template:" .. name) reaper.Main_openProject("noprompt:" .. name)
__________________
ReaLauncher Last edited by solger; 06-13-2020 at 07:00 AM. |
|
06-13-2020, 07:05 AM | #11 |
Human being with feelings
Join Date: May 2020
Posts: 53
|
Thanks!!
Amazing!! Thank you so much
|
Thread Tools | |
Display Modes | |
|
|