i'm trying to set-up a shortcut for a unity item from code. More specifically the Stage/Go Back for the prefab editor. I know, it's possible (recommendable, even) to edit shortcuts manually, but for what i'm trying to make would be really helpful if it was possible to activate or deactivate the shortcut from code.
I've tried using EditorApplication.ExecuteMenuItem("Stage/Go back"); but it doesn't work with that one.
If it's not possible to do it I'll understand it, thank you!