I don't know if this is possible but any help will be appriciated.

Is there a way to send mouse movements to an existing program? I want to send certain movements to an existing CAM program to control rotation.

Thanks in advance,
Wil