All KM Variables (KM Wiki) persist after the macro completes (actually after the Action is executed), and are available for use in the next run of the macro and/or other macros. IOW, KM Variables are permanently stored in you Mac until/if you specifically delete them.
Thank you for your help. I read up on how to use KM Variables, and am now learning how it works.
When I use the example that you sent me, I tried adding the variable "WPB__Name" to a hotkey, however when I use the hotkey, I get the same number, "WallPaint Black025, WallPaint Black025, WallPaint Black025". Is this because it is intended for a script, rather than a hotkey?