One-button command to clear a layer

Maybe someone out there can help on this:

 I would like the ability to clear a layer with the push of a single button.

Clip Studio Paint has such a feature as a default, right in the toolbar. One click and the layer is cleared. Unfortunately, I can't seem to find anything comparable in Painter.

At the moment, I use a Custom Palette in Painter with 3 buttons that need to be pushed in just this order: Select All, Clear, and then Select None.

If there is a way to chain these commands in either Painter or the Wacom Intuos, I would love to know about it.