Old 06-01-2021, 04:08 AM   #1
mrdevis
Human being with feelings
 
Join Date: Dec 2009
Location: 47.372498n,8.524697e
Posts: 42
Default startup profile?

Hi,

We use Reaper in our main 5.1 Studio for animation films. As we are a team of three with all having different kind of muscle memories cq workflows (pt native (2) vs reaper native (1) ), I wondered if there is any interest in having a startup profile for Reaper. Somewhere along the lines of incorporating keymaps and (some, like mouse modifiers?) preferences.
Reaper could start with last chosen profile if no interaction, or with a chosen named profile otherwise. As most (all) of the ingredients are already there, this is probably even scriptable?

any upvotes for that?

cheers, jeroen
mrdevis is offline   Reply With Quote
Old 06-01-2021, 06:53 AM   #2
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,134
Default

Can't REAPER config fulfill this need?
Buy One is offline   Reply With Quote
Old 06-01-2021, 12:26 PM   #3
mrdevis
Human being with feelings
 
Join Date: Dec 2009
Location: 47.372498n,8.524697e
Posts: 42
Default

For functionality sure it can. That's how we do it now. It is a bit cumbersome in terms of usability. we don't want to change everything, mainly keymaps, and mousemodifiers. In my opinion it would be a nice-to-have functionality to collect the wanted items which differ and put them in a userprofile.

But maybe I am missing an obvious and more elegant way?
Cheers,
Jeroen
mrdevis is offline   Reply With Quote
Old 06-02-2021, 03:11 AM   #4
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

It should be codeable. You write a startup-lua-script that asks for the user, then replaces the mouse-modifier/keymap-ini-files in the background, restarts Reaper and done.

Shouldn't be hard, if it's really just mouse and keyboard that needs to be changed.
If it shall be more, things could easily become difficult, though.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 06-02-2021, 08:19 AM   #5
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,134
Default

Quote:
Originally Posted by mrdevis View Post
we don't want to change everything, mainly keymaps, and mousemodifiers.
I didn't try this but presumably if keymaps and mouse modifiers aren't going to change often or at all, the main config can be exported and all that's unnecessary deleted from the config archive. Then only what's needed will be updated on config import.

Not denying the necessity of the feature, just trying to suggest an ad hoc solution.
Buy One is offline   Reply With Quote
Old 06-26-2021, 06:49 AM   #6
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,134
Default

There're two scripts now in ReaPack which implement Mespotine's suggestion, feature under the name

REAPER Profile terminal
__________________
https://github.com/Buy-One/REAPER-scripts (175)
REAPER is a DAW whose user guide file is larger than its installation file

Last edited by Buy One; 07-05-2021 at 06:18 AM.
Buy One is offline   Reply With Quote
Old 04-18-2022, 07:18 PM   #7
UserZero
Human being with feelings
 
UserZero's Avatar
 
Join Date: Jul 2010
Location: New England
Posts: 34
Default

Quote:
Originally Posted by Buy One View Post
There're two scripts now in ReaPack which implement Mespotine's suggestion ...
Are these what trigger the pop-up "Log in" dialog, below?



If so, what's the proper way to disable this so I don't have to cancel it every time I load a project?

TIA!
__________________
U0
AMD 3900X / Win10 Pro / EW/QLSO, N-I Komplete / Reaper
UserZero is offline   Reply With Quote
Old 04-21-2022, 12:28 PM   #8
UserZero
Human being with feelings
 
UserZero's Avatar
 
Join Date: Jul 2010
Location: New England
Posts: 34
Default

Anyone out there know how to disable this dialog if it's not needed, rather than having to cancel it every single time a project is opened?

TIA!
U0
__________________
U0
AMD 3900X / Win10 Pro / EW/QLSO, N-I Komplete / Reaper
UserZero is offline   Reply With Quote
Old 04-22-2022, 08:49 AM   #9
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,134
Default

Hi UserZero

Sorry, didn't get on the forum for a couple of days.

In your movie you explicitly run the script that's why the dialogue does pop up. Had you been logged into a profile another dialogue would pop up.

If the problem is different, can you be more specific about when the "Log in & create" dialogue pops up other than when the script is called explicitly? Steps to reproduce from A to Z

Quote:
Originally Posted by UserZero
Hey There,

Is there a correct way to disable this profile log-in dialog?

https://forum.cockos.com/showpost.ph...52&postcount=7

cheers!
U0
__________________
https://github.com/Buy-One/REAPER-scripts (175)
REAPER is a DAW whose user guide file is larger than its installation file

Last edited by Buy One; 04-22-2022 at 02:18 PM.
Buy One is offline   Reply With Quote
Old 04-22-2022, 11:13 AM   #10
UserZero
Human being with feelings
 
UserZero's Avatar
 
Join Date: Jul 2010
Location: New England
Posts: 34
Default

Hey! Thanks for the reply.

Yes, the video shows me triggering the dialog from the action list, because I had already dismissed (canceled) it at that point, and wanted to display it to show which one I was referring to.

It pops up every single time I open a project.

I hadn't run Reaper for some time, and after I updated, this dialog started to appear. I don't recall ever seeing it before. Would just like to disable it, as I don't need any profile-level configuration management (it's just me).

cheers,
__________________
U0
AMD 3900X / Win10 Pro / EW/QLSO, N-I Komplete / Reaper

Last edited by UserZero; 04-22-2022 at 01:55 PM.
UserZero is offline   Reply With Quote
Old 04-22-2022, 02:07 PM   #11
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,134
Default

Quote:
Originally Posted by UserZero View Post
It pops up every single time I open a project.
Have you by chance added the script or a custom action in which the script is included to SWS startup actions? This will trigger the script on REAPER startup but won't trigger it if you just open another project in a new tab.

Otherwise scripts can't be launched on their own.

So if by opening a project you really mean starting REAPER, then SWS startup actions might be the reason.

I have the script installed as well of course but after upgrading to 6.53 just recently i didn't encounter any oddities including those coming from this script.
__________________
https://github.com/Buy-One/REAPER-scripts (175)
REAPER is a DAW whose user guide file is larger than its installation file

Last edited by Buy One; 04-22-2022 at 02:22 PM.
Buy One is offline   Reply With Quote
Old 04-22-2022, 02:19 PM   #12
UserZero
Human being with feelings
 
UserZero's Avatar
 
Join Date: Jul 2010
Location: New England
Posts: 34
Default

Right. Yes I think it's every time I start Reaper. I usually use the last-used list from my taskbar, so maybe I was confusing the two.

No, I haven't added the script to anything. If there's a custom action on startup that includes it, I'm not aware of it.

If it's SWS, where's the best place to check?

thanks!
__________________
U0
AMD 3900X / Win10 Pro / EW/QLSO, N-I Komplete / Reaper
UserZero is offline   Reply With Quote
Old 04-22-2022, 02:24 PM   #13
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,134
Default

It's on the main menu under Extensions -> Startup actions, provided of course that you have the SWS extension installed.
__________________
https://github.com/Buy-One/REAPER-scripts (175)
REAPER is a DAW whose user guide file is larger than its installation file
Buy One is offline   Reply With Quote
Old 04-22-2022, 04:42 PM   #14
UserZero
Human being with feelings
 
UserZero's Avatar
 
Join Date: Jul 2010
Location: New England
Posts: 34
Default

Here's what I'm seeing on each startup...



I tend to shut down the DAW whenever I'm done working on something and then move on to something else. Habit from the Cakewalk days when it helped reduce memory leaks, etc. That's why I was associating it with opening a project. If I close one project and open or start a new one without shutting down, I don't see the profile login dialog. So it's definitely DAW-startup-related.
__________________
U0
AMD 3900X / Win10 Pro / EW/QLSO, N-I Komplete / Reaper

Last edited by UserZero; 04-22-2022 at 10:34 PM.
UserZero is offline   Reply With Quote
Old 04-23-2022, 12:06 AM   #15
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,134
Default

Other info that might help

1. Do you use __startup.lua or __startup.eel scripts? This is a REAPER's native startup action implementation.
If yes:
2. Is the script command ID included in those files?
If not:
3. Did the problem emerge only after upgrading to 6.54?
4. Does it only happen when empty project is loaded?
5. If 4 is true, do you use default project template?
__________________
https://github.com/Buy-One/REAPER-scripts (175)
REAPER is a DAW whose user guide file is larger than its installation file
Buy One is offline   Reply With Quote
Old 04-23-2022, 11:21 AM   #16
UserZero
Human being with feelings
 
UserZero's Avatar
 
Join Date: Jul 2010
Location: New England
Posts: 34
Default

Thanks.

I'd previously looked for startup.lua but only found one that referenced Reaticulate. It didn't reference profile terminal (neither did Reaticulate_Start.lua, IIRC):
Code:
-- Begin Reaticulate startup stanza (don't edit this line)
local sep = package.config:sub(1, 1)
local script = debug.getinfo(1, 'S').source:sub(2)
local basedir = script:gsub('(.*)' .. sep .. '.*$', '%1')
dofile(basedir .. sep .. 'Reaticulate' .. sep .. 'actions' .. sep .. 'Reaticulate_Start.lua')
-- End Reaticulate startup stanza (don't edit this line)
Although I'd made sure to synchronize packages after updating, I decided to just uninstall Reaticulate as a test and noticed that when I did, this startup file wasn't removed, so I moved it to another directory and the issue was resolved (no more profile dialog pop-up).

I then reinstalled Reaticulate and used its settings to enable autostart. This re-created the startup.lua script. The new one is identical to the one I moved (see above). However, the issue is still resolved - no profile dialog on startup.

I didn't have the foresight to save off the Reaticulate directory before uninstalling, so my best guess at this point is that there was some issue created when I upgraded Reaper from 6.28 (where the issue didn't exist) to 6.53 (which is when it started, and persisted in 6.54). Something in Reaticulate apparently didn't get updated, even after synchronizing - at least that's how it appears.

Thanks again for the help. Sorry for the confusion. Looking like this was a package management issue that can be resolved by refreshing the package.

cheers,
__________________
U0
AMD 3900X / Win10 Pro / EW/QLSO, N-I Komplete / Reaper
UserZero is offline   Reply With Quote
Old 04-24-2022, 02:03 AM   #17
Buy One
Human being with feelings
 
Buy One's Avatar
 
Join Date: Sep 2019
Posts: 1,134
Default

Alright, glad that it's been sorted out.
__________________
https://github.com/Buy-One/REAPER-scripts (175)
REAPER is a DAW whose user guide file is larger than its installation file
Buy One is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:21 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.