Open VictorGimenez opened 1 year ago
Any tips?
I'm asking the same question, did you find an answer? Is it possible to get the pointers current position using Python? If so, then we could add/substract current position to goal position and send that as REL_X and REL_Y, right?
I would like to make the mouse pointer/cursor move independently and directly to the given x and y positions without the need to use the relative attributes (REL_X, REL_Y) seen that these two ones make the mouse movement using as reference the actual x and y positions. I wrote this script below to try make the mouse pointer goes directly but nothing happens.
When I debugged this code I didn't get errors, but I would like to know what's missing there in this code to make that the mouse pointer goes to the desired x and y positions?