wxpython: Set Cursor to Absolute Screen Location And Click
问题 I'm having a little trouble trying to get WarpPointer to work out appropriately for me. The scenario I'm trying to do is akin to recording a user's clicks and then replaying them on the screen. I've been able to record the screen motions and clicks without any issues; however, I'm stumbling when it comes to replaying what the user recorded. def MoveCursorAndClick(self, e): # get the current screen position sp = self.GetPosition() p = self.getNextPosition() # returned in absolute x,y from