Is there a trigger for moving the active window?

I would like to trigger a shortcut menu when I move the active window.

Is this possible?