I have a macro that I want to run just before every new beamer frame. I could just a define
myframe environment that runs the macro then starts a standard frame, but I'd rather do it differently if I can.
Beamer has neat
\AtBeginSection functionality, but am I right in thinking there's no such analogue like
And would the situation be different if I actually wanted to do something before setting each slide? [Edit: I asked this last part as a separate question]