Keyboard Shortcut for "Reveal all clozes" and "Toggle Masks"

Is it possible to assign a keyboard shortcut for revealing clozes and occluded images? Haven’t found much luck in finding a solution online.