How to call editor menu command from script?

How to call editor menu command from script?

1 Like