Old 03-03-2021, 01:23 AM   #1
Buy One
Human being with feelings
 
Join Date: Sep 2019
Posts: 439
Default SetScreensetChunk() function

Would allow having more that 10 screen sets available
Buy One is offline   Reply With Quote
Old 03-03-2021, 04:54 AM   #2
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 2,372
Default

Screensets aren't stored in the project so there's no thing like a screenstatechunk. They are rather stored in the reaper.ini.

So you would need a way to get and set the screenset/window set-attributes for each screen/window set so they are set correctly.
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1385 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 03-03-2021, 09:10 AM   #3
Buy One
Human being with feelings
 
Join Date: Sep 2019
Posts: 439
Default

Screen sets specifically are stored separately in reaper-screensets.ini so i assume they work similarly to reaper.ini settings and so pose the same challenge of impossibility to be applied at runtime via API.

SWS functions reaper.SNM_Get/SetIntConfigVar() allow changing settings inside REAPER at runtime and if those are also changed in the reaper.ini they, i believe, get to be stored there and recalled on the next startup.

Similarly if the suggested function existed the screen set chunks could be applied to project with a script and concurrently written into the reaper-screensets.ini by other means.

The extended screen sets would be stored in another file, loaded therefrom and applied with the suggested function.
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 05:36 PM.


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