How to set the value with the Macro

Creating Macro for UV SPOT. I want my value to set permanently when i press the shortcut for macro

when i play the macro it should make the image black with the above value. Any suggestion or way. Thanks