Doing some rigging and using nulls to drive bones and other things. On most of the nulls I only have rotation or translation available.

Is there a way to have the user's tool automatically switch to whatever channels are available on the selected item?

For example, imagine you are in Layout and have the Move tool selected. You then click on a null that only allows you to rotate on H and B. After clicking on the null, the Move tool is dropped and the Rotate tool is auto-selected.

Is this already in Layout, or is their a way to set this up through scripting?