Reading past efforts to "Macrofy" Mathematica, it appears that the choice is between "FrontEndExecute" and a ResourceFunction "AddMenuItem" both of which are daunting. I do not want to modify the front end and foul up all my other Mathematica activities. Presently I am regularly pasting a graphic into a notebook which I then want to center and make the cell unevaluatable. Doing that requires typing
<alt>RACCPV
It would be nice to program a hotkey for that.
@Kuba sent me in the right direction but the code example there
<|"Label" -> "Center", "ShortKey" -> "c", "Action" :>FrontEndExecute[{SelectionMove[InputNotebook[], All, CellContents],
NotebookDelete@InputNotebook[]}]|>
represents just the danger I wish to avoid (my comment about "daunting" is like the other comment in this thread about FrontEndExecute entailing too much "burden"). While I know better than to evaluate something that deletes my entire notebook, what I do not know is what to substitute in its place. A snippet of code for my particular needs is what I am missing. Sorry to be such a wimp...