On 01/09/2015 at 04:16, xxxxxxxx wrote:
Hi!:slightly_smiling_face:
Is Possible, set Cursor Position in Screen?
I have this Python Code, but in Cinema4D not work....
Thanks!
def mousePos(cord) :
win32api.SetCursorPos((x_pad + cord[0], y_pad + cord[1]))
def get_cords() :
x,y = win32api.GetCursorPos()
x = x - x_pad
y = y - y_pad
print x,y