Adding a macro maker/ support into the game is actually a really good idea… code wise it’s not very difficult especially since CDDA is effectively turn based so you don’t need worry about timing.
I have a gaming laptop (needed graphics card for SIMD heavy stuff) and it has a few macro keys that I rarely use do to the pain of setting them up but, I have used them for CDDA in the past…
I once had a base that used a 1x10 vehicle for a gate. I set up the macros so when I stopped in front of the “gate” and, pressed the button, the survivor would get out of the “car,” move the “gate” out of the way, drive the “car” into my base, close the “gate.” Had another one for leaving and, an extended version that would also unload the "car I was using at the time. Could not imagine doing that without the macro, too much of a hassle.