There’s probably a far neater way to do this but here is an option
Create a logical editor preset
Filter = Name/contains/xx
Action target = Track Operation/Record/Enable (or toggle if you want to disable too)
Save it as “Rec enable xx”
Create another preset
Filter = Name/Contains Not/xx
Action target = Track Operation/Record/Disable
Save it as “Rec enable xx2”
Open key commands, show macros and create a new macro…you then add a command to run each of the presets you just created…you will find them in the folder “Process Project Logical Editor” - Assign your Key command to this macro.
Hope that helps.
Ooops…almost forgot to mention…you need to add xx to the name for only those 2 tracks and make sure no other track contains xx…you could use anything you like to replace xx of course.