How can I get an Action for a specific ActionId from the KM Editor, in either AS or JXA?

I promise to do just that, once you help me solve a specific problem :rofl: , which I've posted here: