Is there a macro to "select events under/at the cursor"?

Is there a macro to “select events under/at the cursor” ?

I tried the solution described at the very end here: Issue/Feature Request: Combine/Smart Tool: 'Select Events Under Cursor' negated - #6 by garymusic

But it works only with the same versions of tracks. It’s not quite really cool))