I'm writing a little VS addin, which has a shortcut to it. It calls the Exec method fine, but I don't see a way to figure out whether it was called using a shortcut, or clicking in Tools menu. I'm sure it's there somewhere, but the documentation is lacking..
Thanks !
I checked and simply there is no simple way as of i know... and also according to normal practice and behavior addin should not behave differently. It should be independent of the way its executed.