Old 01-12-2017, 05:28 AM   #1
DrFrankencopter
Human being with feelings
 
Join Date: Jan 2011
Location: Ottawa, Canada
Posts: 293
Default How do I change record mode to 'auto-punch' via API?

I'm looking an API function (C/C++) that will let me get/set the record mode.

I'm making a branch of Klinke's MCU surface plugin, but have found that anytime I set the record mode to auto-punch (with region, or selected items), if I hit record on the control surface it overrides the mode and puts it into regular record. Not good for punching in....

Surely there's an action/function that takes care of this. But I can't find it.

Can anyone lend a hand?

Cheers

Kris
__________________
RME TotalMixFX Actions for Reaper here: https://stash.reaper.fm/v/29339/reape...MixOSC_x64.dll
DrFrankencopter is offline   Reply With Quote
Old 01-12-2017, 06:19 AM   #2
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

If all else fails, I assume the C++ API has some equivalent of reaper.Main_OnCommand( command, flag ) that lets you run actions from the Action List.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna 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 01:43 AM.


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