Macro syntax with SelName - Bug

Hello, I actually would like to macro Selname, then ZoomSelected, from a keyboard shortcut… but, once Selname windows box opened, pick my object and close it, macro stop and do not allow me to Zoom on it.

_SelName _Pause
_Zoom _Selected

I can’t access to zoom command (it works on PC), is there something different on Mac when having dialog box?

Thank you

My macro works well inside macro editor … but not as macro inside keyboard shortcut…

Could it be solved?

Thank you