View Single Post
Old 07-31-2011, 02:22 PM   #210
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 7,417
Default

Quote:
Originally Posted by sws View Post
Yes,
First, you need to find the variable name for the option you're toggling. Check reaper.ini to see what's changed before and after the toggle, perhaps clicking "save as default" in the project prefs dialog in between.

Then, check out this TokSeekMode example from the SWS codebase (many more toggle functions in there), referencing my utility funcion GetConfigVar. Hope this helps!
Thanks for this, I'm sure it would've helped, except... nothing changes in reaper.ini when that specific option is toggled. That toggle always starts up off, and running the action to change it does not make any imprint on reaper.ini. I will have to work around this, maybe toggle it and check if selecting one item in a group also selects another item in the same group, and if not, toggle again...

Thanks.

EDIT: Of course, that way of testing (toggle, select one, see if another is also selected) only works if there are at least two items in the group. Shucks...
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...

Last edited by Fabian; 07-31-2011 at 03:04 PM.
Fabian is online now   Reply With Quote