Shortcut for menu icon item

 From:  MarkBTomlinson
9333.1 
Hi,
I would like to add a Shortcut to the ObjectLibrary add-on and I am not sure how you call the function.
On the same theme is there a way to see the calls made when a button is clicked somewhere to help with such questions.

Thanks Guys

3D Hard Surface
https://mbt3d.com
https://www.artstation.com/artist/markbtomlinson