This script simply sets the Move Tool into Custom Axis Orientation
mode, and uses the orientation of the selected object for the tool's
custom offset values.
It just saves time retrieving the values & calculating the radians
yourself. For effective use, assign the script to a hotkey or shelf
This custom mode is useful when you want to move an object along the
axis of another object. Just select the reference object, and run the
script. The Move Tool now has the same orientation as that object.
Tool Settings to change mode back to World, Local, etc.
To run script from Scripts directory, be sure to uncomment global proc.