Run macro AFTER print ends

Basic Information:

Printer Model: Sovol SV06+
MCU / Printerboard: Manta E3EZ
Host / SBC: CB2

I’d like to setup my End_Print in slicer to check to see if a macro was selected and then for the printer to run it if it was.

Goal:

Have a macro button to keep steppers on so the printer does not need to be re-homed and to keep the bed warm after print has finished.

This is for prints that I have designed for an inlay. I had this setup working with Marlin and want to refine it with Klipper.

use the save variables feature, click the macro and it saves “yes run the keep alive macro”

then in your end print read the saved variable and if its set to 1 keep heaters on, if set to 0 turn it all off.

Should be pretty easy, if you need help, I could hook you up with some code!

just not till after the superbowl, so tomorrow
lol