Exemple #1
0
 def killClick(self, x1, y1, x2, y2):
     Cursor.Position = Point(x1, y1)
     User32.mouse_event(0x202, 0, 0, 0, 0)
     Cursor.Position = Point(x2, y2)
     User32.mouse_event(0x204, 0, 0, 0, 0)
Exemple #2
0
 def killClick(self, x1, y1, x2, y2):
     Cursor.Position = Point(x1, y1)
     User32.mouse_event(0x202, 0, 0, 0, 0)
     Cursor.Position = Point(x2, y2)
     User32.mouse_event(0x204, 0, 0, 0, 0)
Exemple #3
0
 def click(self, x, y):
     info = 0
     Cursor.Position = Point(x, y)
     User32.mouse_event(0x202, 0, 0, 0, info)
     User32.mouse_event(0x204, 0, 0, 0, info)
Exemple #4
0
 def click(self, x, y):
     info = 0
     Cursor.Position = Point(x, y)
     User32.mouse_event(0x202, 0, 0, 0, info)
     User32.mouse_event(0x204, 0, 0, 0, info)